From 3a1162227ddae817aa3fdc71129790f345fc1140 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 3 Nov 2021 20:36:13 +0100 Subject: Add FlashForge "xgcode" mime-type FlashForge's FlashPrint software uses gcode with a binary header containing extra data to save sliced models. Seeing as they have a known magic and that we might want to use them outside of FlashPrint itself, add a mime-type. --- data/freedesktop.org.xml.in | 8 ++++++++ tests/mime-detection/20mm_Box.gx | Bin 0 -> 130031 bytes tests/mime-detection/list | 1 + 3 files changed, 9 insertions(+) create mode 100644 tests/mime-detection/20mm_Box.gx diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 399e7e7f..ee392fa0 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -7644,6 +7644,14 @@ command to generate the output files. + + G-code Extended file + + + + + + Nintendo FDS disk image FDS diff --git a/tests/mime-detection/20mm_Box.gx b/tests/mime-detection/20mm_Box.gx new file mode 100644 index 00000000..ea77861e Binary files /dev/null and b/tests/mime-detection/20mm_Box.gx differ diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 946a0575..07eb9774 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -840,6 +840,7 @@ dbus-comment.service text/x-dbus-service binary.stl model/stl oxo ascii.stl model/stl test.gcode text/x.gcode ox +20mm_Box.gx text/x-gcode-gx # Virtualization disk images disk.qcow2 application/x-qemu-disk -- cgit v1.2.1