mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Add icon to the build system output. (#208)
* Add icon to the build system output. Make newly externally visible icon globally unique. Compensate for this change in the .desktop and in the AppImage.
This commit is contained in:
parent
efa2809242
commit
f3aba5fdd0
@ -2,5 +2,5 @@
|
||||
Type=Application
|
||||
Name=Iaitō
|
||||
Exec=iaito
|
||||
Icon=iaito
|
||||
Icon=iaito-small
|
||||
Categories=Development;
|
||||
|
@ -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
|
||||
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
@ -55,7 +55,7 @@
|
||||
<file>img/icons/transfer_white.svg</file>
|
||||
<file>img/icons/spin_light.svg</file>
|
||||
<file>img/logo2.png</file>
|
||||
<file>img/logo-small.png</file>
|
||||
<file>img/iaito-small.png</file>
|
||||
<file>img/logo-small-white.png</file>
|
||||
<file>img/icons/import_light.svg</file>
|
||||
<file>fonts/Anonymous Pro.ttf</file>
|
||||
|
Loading…
Reference in New Issue
Block a user