Packaging: offer GridCraft for .xlsb and .ods files (#92)

GridCraft imports XLSB (#101) and ODS (#100) files, but the Linux desktop
entry, shared-mime-info file and AppStream metadata, and the Windows
"Open with" list only named .xlsx, .xlsm, .csv and .tsv. Add the two
import formats there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76 2026-10-11 12:45:24 +02:00
parent 9f896c1249
commit d5f007dffb
4 changed files with 16 additions and 2 deletions

View File

@ -10,5 +10,5 @@ Terminal=false
StartupNotify=true
StartupWMClass=ai.storyteller.gridcraft
Categories=Office;Spreadsheet;
MimeType=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroEnabled.12;text/csv;text/tab-separated-values;
Keywords=spreadsheet;workbook;sheet;table;formula;chart;pivot;xlsx;csv;tsv;excel;
MimeType=application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.oasis.opendocument.spreadsheet;text/csv;text/tab-separated-values;
Keywords=spreadsheet;workbook;sheet;table;formula;chart;pivot;xlsx;xlsb;ods;csv;tsv;excel;

View File

@ -56,6 +56,8 @@
<binary>gridcraft-cli</binary>
<mediatype>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mediatype>
<mediatype>application/vnd.ms-excel.sheet.macroEnabled.12</mediatype>
<mediatype>application/vnd.ms-excel.sheet.binary.macroEnabled.12</mediatype>
<mediatype>application/vnd.oasis.opendocument.spreadsheet</mediatype>
<mediatype>text/csv</mediatype>
<mediatype>text/tab-separated-values</mediatype>
</provides>

View File

@ -13,6 +13,15 @@
<sub-class-of type="application/zip"/>
<glob pattern="*.xlsm"/>
</mime-type>
<mime-type type="application/vnd.ms-excel.sheet.binary.macroEnabled.12">
<comment>Excel binary workbook</comment>
<glob pattern="*.xlsb"/>
</mime-type>
<mime-type type="application/vnd.oasis.opendocument.spreadsheet">
<comment>OpenDocument spreadsheet</comment>
<sub-class-of type="application/zip"/>
<glob pattern="*.ods"/>
</mime-type>
<mime-type type="text/csv">
<comment>CSV document</comment>
<sub-class-of type="text/plain"/>

View File

@ -182,6 +182,9 @@
ignored (WiX rejects an empty Value, so it repeats the ProgId). -->
<RegistryValue Root="HKLM" Key="Software\Classes\.xlsx\OpenWithProgids" Name="GridCraft.Workbook" Value="GridCraft.Workbook" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\.xlsm\OpenWithProgids" Name="GridCraft.Workbook" Value="GridCraft.Workbook" Type="string" />
<!-- .xlsb and .ods are imported (data only) into a new workbook that saves as .xlsx. -->
<RegistryValue Root="HKLM" Key="Software\Classes\.xlsb\OpenWithProgids" Name="GridCraft.Workbook" Value="GridCraft.Workbook" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\.ods\OpenWithProgids" Name="GridCraft.Workbook" Value="GridCraft.Workbook" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\.csv\OpenWithProgids" Name="GridCraft.TextData" Value="GridCraft.TextData" Type="string" />
<RegistryValue Root="HKLM" Key="Software\Classes\.tsv\OpenWithProgids" Name="GridCraft.TextData" Value="GridCraft.TextData" Type="string" />