Files
figcraft/packaging/linux/ai.storyteller.figcraft.mime.xml
T
Jindřich ŠaršonandClaude Opus 5.5 db1bc539b0 M6: Sketch import: offer FigCraft for .sketch on Windows and Linux too
Linux: the shared-mime-info package declares application/x-sketch (a zip,
*.sketch) and the desktop entry and AppStream metadata list it. Windows:
the installer registers a Figcraft.Sketch ProgId under .sketch's
OpenWithProgids and .sketch in figcraft.exe's SupportedTypes, never as
the default. Both hand the path to file.open, as macOS does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:25:07 +01:00

18 lines
782 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- shared-mime-info definitions for FigCraft's own document type and for Sketch files, which
FigCraft opens (SVG, PNG and JPEG are already in the system database). 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-figcraft">
<comment>FigCraft document</comment>
<icon name="ai.storyteller.figcraft"/>
<glob pattern="*.figcraft"/>
</mime-type>
<!-- Sketch 48 and newer save a zip of JSON. -->
<mime-type type="application/x-sketch">
<comment>Sketch document</comment>
<sub-class-of type="application/zip"/>
<glob pattern="*.sketch"/>
</mime-type>
</mime-info>