Commit 680fa85f authored by anoteng's avatar anoteng

Add mimetypes for PySpread spreadsheets

parent 9030c21c
Pipeline #127956 passed with stage
in 1 minute and 40 seconds
......@@ -7355,4 +7355,18 @@ command to generate the output files.
</magic>
</mime-type>
<mime-type type="application/x-pyspread-spreadsheet">
<comment>Pyspread spreadsheet</comment>
<glob pattern="*.pysu"/>
<magic>
<match type="string" value="[Pyspread save file version]" offset="0"/>
</magic>
<generic-icon name="x-office-spreadsheet"/>
</mime-type>
<mime-type type="application/x-pyspread-bz-spreadsheet">
<comment>Pyspread spreadsheet (bzip-compressed)</comment>
<sub-class-of type="application/x-bzip"/>
<glob pattern="*.pys"/>
<generic-icon name="x-office-spreadsheet"/>
</mime-type>
</mime-info>
......@@ -736,3 +736,7 @@ disk.qcow2 application/x-qemu-disk
# ROM hack scene patching formats
SLA.bps application/x-bps-patch
FF6FR.IPS application/x-ips-patch
# PySpread spreadsheet
test.pys application/x-pyspread-bz-spreadsheet oxo
test.pysu application/x-pyspread-spreadsheet
[Pyspread save file version]
2.0
[shape]
1000 100 3
[grid]
0 0 0 "Test"
[attributes]
[row_heights]
[col_widths]
[macros]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment