diff options
author | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-08-07 09:38:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-07 09:38:15 +0300 |
commit | 0a126cf80999a49eca25be68e95465d8c5169bf4 (patch) | |
tree | 9b8b18628fd5f85eec02812f87db1ec9eb9c4ee7 /cura.desktop.in | |
parent | 6b2935379f46429b125ba3a786324a6617296ef0 (diff) |
Generate cura.desktop (#668)
Adds support to install Cura to an alternative path, while generating a correct .desktop file for it.
* Renaming cura.desktop to cura.desktop.in
* CMAKE: Generate .desktop from .desktop.in
* Replace hardcoded paths with FULL_PATHs
* Tell CMake to generate cura.desktop
* CMake: Set full paths for .desktop generation
* It tells CMake where to find the .desktop.in is and where to store the result.
Diffstat (limited to 'cura.desktop.in')
-rw-r--r-- | cura.desktop.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cura.desktop.in b/cura.desktop.in new file mode 100644 index 0000000000..0ac25c9521 --- /dev/null +++ b/cura.desktop.in @@ -0,0 +1,15 @@ +[Desktop Entry] +Version=1 +Name=Cura +Name[de]=Cura +GenericName=3D Printing Software +GenericName[de]=3D-Druck-Software +Comment=Cura converts 3D models into paths for a 3D printer. It prepares your print for maximum accuracy, minimum printing time and good reliability with many extra features that make your print come out great. +Exec=@CMAKE_INSTALL_FULL_BINDIR@/cura %F +TryExec=@CMAKE_INSTALL_FULL_BINDIR@/cura +Icon=@CMAKE_INSTALL_FULL_DATADIR@/cura/resources/images/cura-icon.png +Terminal=false +Type=Application +MimeType=application/sla;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;image/bmp;image/gif;image/jpeg;image/png +Categories=Graphics; +Keywords=3D;Printing; |