diff --git a/qcma.desktop b/qcma.desktop new file mode 100755 index 0000000..f14a650 --- /dev/null +++ b/qcma.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=qcma +GenericName=Content Manager Assistant +GenericName[es]=Asistente del Gestor de Contenido +Comment=Content Manager Assistant for the PS Vita +Comment[es]=Asistente del Gestor de Contenido para PS Vita +Icon=qcma.png +Name=QCMA +Path= +StartupNotify=true +Terminal=false +Type=Application +Version=1.0 +X-KDE-SubstituteUID=false diff --git a/qcma.pro b/qcma.pro index 1b217cb..3370947 100644 --- a/qcma.pro +++ b/qcma.pro @@ -64,7 +64,8 @@ RESOURCES += \ OTHER_FILES += \ resources/psp2-updatelist.xml \ resources/psv_icon.png \ - README.md + README.md \ + qcma.desktop FORMS += \ configwidget.ui \ @@ -72,4 +73,17 @@ FORMS += \ backupitem.ui \ confirmdialog.ui +unix { + isEmpty(PREFIX) { + PREFIX = /usr/local + } + desktop.path = $$DATADIR/applications/$${TARGET} + desktop.files += $${TARGET}.desktop + + icon64.path = $$DATADIR/icons/hicolor/64x64/apps + icon64.files += resources/$${TARGET}.png + + target.path = $$PREFIX/bin + INSTALLS += target desktop icon64 +} diff --git a/resources/qcma.png b/resources/qcma.png new file mode 100644 index 0000000..ce36ce5 Binary files /dev/null and b/resources/qcma.png differ