Skip to content

Commit

Permalink
Update desktop and mimeinfo to add gcode mime type
Browse files Browse the repository at this point in the history
CURA-5878
  • Loading branch information
LipuFei committed Nov 22, 2018
1 parent ee7355c commit 06cb628
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cura.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;
8 changes: 8 additions & 0 deletions cura.sharedmimeinfo
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 06cb628

Please sign in to comment.