diff --git a/RepRaptor b/RepRaptor new file mode 100755 index 0000000..90dae83 Binary files /dev/null and b/RepRaptor differ diff --git a/RepRaptor.desktop b/RepRaptor.desktop new file mode 100755 index 0000000..a8639ae --- /dev/null +++ b/RepRaptor.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=RepRaptor +Comment=A Qt RepRap gcode sender/host controller aimed to be fast and minimalistic. +Exec=/usr/local/bin/repraptor +Icon=/usr/local/share/icons/repraptor.png +Terminal=false +Type=Application +Categories=Utility;Application; + diff --git a/RepRaptor.pro b/RepRaptor.pro index 5eef322..ed5f900 100644 --- a/RepRaptor.pro +++ b/RepRaptor.pro @@ -13,6 +13,21 @@ TARGET = RepRaptor TEMPLATE = app CONFIG += static +unix +{ + icon.files += icons/icon.png + icon.path = /usr/local/share/icons + + desktop.files += RepRaptor.desktop + desktop.path = /usr/local/share/applications + + repraptor.files += RepRaptor + repraptor.extra = cp RepRaptor repraptor + repraptir.path = /usr/local/bin + + INSTALLS+= icon desktop repraptor +} + SOURCES += main.cpp\ mainwindow.cpp \ settingswindow.cpp \ @@ -45,4 +60,5 @@ RESOURCES += \ DISTFILES += \ LICENCE \ - README.md + README.md \ + RepRaptor.desktop