diff --git a/src/iaito.desktop b/src/iaito.desktop index fdc92149..99da1249 100644 --- a/src/iaito.desktop +++ b/src/iaito.desktop @@ -2,5 +2,5 @@ Type=Application Name=Iaitō Exec=iaito -Icon=iaito +Icon=iaito-small Categories=Development; diff --git a/src/iaito.pro b/src/iaito.pro index 909869ed..940df23b 100644 --- a/src/iaito.pro +++ b/src/iaito.pro @@ -157,6 +157,12 @@ unix { PREFIX = /usr/local } + icon_file = img/iaito-small.png + + share_pixmaps.path = $$PREFIX/share/pixmaps + share_pixmaps.files = $$icon_file + + desktop_file = iaito.desktop # built-in no need for files atm @@ -165,16 +171,13 @@ unix { share_applications.path = $$PREFIX/share/applications share_applications.files = $$desktop_file - # TODO: - # iaito.png should be copied to $PREFIX/share/icons/$WIDTHx$HEIGHT - - INSTALLS += target share_applications + INSTALLS += target share_applications share_pixmaps # Triggered for example by 'qmake APPIMAGE=1' !isEmpty(APPIMAGE){ # UGLY work around for the logo name in iaito.desktop # Would be better to have a file called iaito.png in the first place - system(cp img/logo-small.png $$OUT_PWD/iaito.png) + system(cp img/iaito-small.png $$OUT_PWD/iaito-small.png) appimage_root.path = / appimage_root.files = $$OUT_PWD/iaito.png $$desktop_file diff --git a/src/img/logo-small.png b/src/img/iaito-small.png similarity index 100% rename from src/img/logo-small.png rename to src/img/iaito-small.png diff --git a/src/resources.qrc b/src/resources.qrc index 541c03f9..52c17812 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -55,7 +55,7 @@ img/icons/transfer_white.svg img/icons/spin_light.svg img/logo2.png - img/logo-small.png + img/iaito-small.png img/logo-small-white.png img/icons/import_light.svg fonts/Anonymous Pro.ttf