CURA-5878 Update desktop and mimeinfo to add gcode mime type
@@ -13,6 +13,6 @@ TryExec=@CMAKE_INSTALL_FULL_BINDIR@/cura
Icon=cura-icon
Terminal=false
Type=Application
-MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;model/x3d+xml;
+MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png;model/x3d+xml;text/x-gcode;
Categories=Graphics;
Keywords=3D;Printing;Slicer;
@@ -19,4 +19,12 @@
<glob-deleteall/>
<glob pattern="*.obj"/>
</mime-type>
+ <mime-type type="text/x-gcode">
+ <sub-class-of type="text/plain"/>
+ <comment>Gcode file</comment>
+ <icon name="unknown"/>
+ <glob-deleteall/>
+ <glob pattern="*.gcode"/>
+ <glob pattern="*.g"/>
+ </mime-type>
</mime-info>