diff --git a/docs/desktopEntry/make/flameshot.desktop b/docs/desktopEntry/make/flameshot.desktop new file mode 100755 index 00000000..21103ef8 --- /dev/null +++ b/docs/desktopEntry/make/flameshot.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Flameshot +GenericName=Screenshot tool +GenericName[es]=Herramienta de captura de pantalla +Comment=Powerfull yet simple to use screenshot software. +Comment[es]=Potente pero simple de usar software de capturas. +Exec=/usr/local/bin/flameshot gui +TryExec=/usr/local/bin/flameshot +Icon=/usr/local/share/icons/flameshot.png +Terminal=false +Type=Application +Categories=Graphics +StartupNotify=false + diff --git a/docs/desktopEntry/make/readme.md b/docs/desktopEntry/make/readme.md new file mode 100644 index 00000000..7c923f6e --- /dev/null +++ b/docs/desktopEntry/make/readme.md @@ -0,0 +1 @@ +.desktop file goes to /usr/local/share/applications diff --git a/docs/desktopEntry/package/flameshot.desktop b/docs/desktopEntry/package/flameshot.desktop new file mode 100644 index 00000000..f98d3f63 --- /dev/null +++ b/docs/desktopEntry/package/flameshot.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Flameshot +GenericName=Screenshot tool +GenericName[es]=Herramienta de captura de pantalla +Comment=Powerfull yet simple to use screenshot software. +Comment[es]=Potente pero simple de usar software de capturas. +Exec=/usr/bin/flameshot gui +TryExec=/usr/bin/flameshot +Icon=/usr/share/icons/flameshot.png +Terminal=false +Type=Application +Categories=Graphics +StartupNotify=false diff --git a/docs/desktopEntry/package/readme.md b/docs/desktopEntry/package/readme.md new file mode 100644 index 00000000..d14e97bc --- /dev/null +++ b/docs/desktopEntry/package/readme.md @@ -0,0 +1 @@ +.desktop file goes to /usr/share/applications diff --git a/flameshot.pro b/flameshot.pro index 7b64b925..4c9ecded 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -78,8 +78,17 @@ unix: { dbus.path = /usr/share/dbus-1/interfaces/ dbus.files = dbus/org.dharkael.Flameshot.xml + + icon.path = /usr/local/share/icons/ + icon.files = img/flameshot.png + + desktopentry.path = /usr/local/share/applications + desktopentry.files = docs/desktopEntry/make/flameshot.desktop + INSTALLS += target \ + icon \ + desktopentry \ qmfile \ servicedbus \ dbus