* claim: new designs save as .sc Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * New designs save as .sc; .solidcraft files still open and keep their name on Save DESIGN_EXT is now "sc"; DESIGN_EXTS lists sc, solidcraft and solvecraft and every open path (dialogs, drag-drop, recent files, CLI, MCP, links, the web picker) accepts all three. Save of an opened .solidcraft file writes that file; Save As, autosave, recovery and crash reports use .sc. Windows, macOS and Linux register .sc alongside the older extensions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Update UI tests for the .sc default extension Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
886 B
XML
18 lines
886 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- shared-mime-info definitions for types the system database may not have.
|
|
Installed to /usr/share/mime/packages/ (update-mime-database runs on install). -->
|
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
|
<mime-type type="application/x-solidcraft">
|
|
<comment>SolidCraft design</comment>
|
|
<icon name="io.tangencylabs.solidcraft"/>
|
|
<sub-class-of type="application/json"/>
|
|
<!-- shared-mime-info also gives *.sc to Scala scripts (text/x-scala, weight 50); with
|
|
SolidCraft installed its designs win. -->
|
|
<glob pattern="*.sc" weight="60"/>
|
|
<!-- Compatibility shim (docs/compatibility.md): designs saved before .sc, and before the rename. -->
|
|
<glob pattern="*.solidcraft"/>
|
|
<glob pattern="*.solvecraft"/>
|
|
<alias type="application/x-solvecraft"/>
|
|
</mime-type>
|
|
</mime-info>
|