mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
add chatterino icon to linux install script
This commit is contained in:
parent
3bbee62f32
commit
8c46cbf571
|
@ -409,11 +409,13 @@ linux {
|
|||
desktop.files = resources/chatterino.desktop
|
||||
desktop.path = $$PREFIX/share/applications
|
||||
|
||||
# TODO: fix icon
|
||||
# icon.files = resources/icon.png
|
||||
# icon.path = $$PREFIX/share/icons/hicolor/256x256/chatterino.png
|
||||
build_icons.path = .
|
||||
build_icons.commands = @echo $$PWD && mkdir -p $$PWD/resources/linuxinstall/icons/hicolor/256x256 && cp $$PWD/resources/icon.png $$PWD/resources/linuxinstall/icons/hicolor/256x256/chatterino.png
|
||||
|
||||
icon.files = $$PWD/resources/linuxinstall/icons/hicolor/256x256/chatterino.png
|
||||
icon.path = $$PREFIX/share/icons/hicolor/256x256/apps
|
||||
|
||||
target.path = $$PREFIX/bin
|
||||
|
||||
INSTALLS += desktop target
|
||||
INSTALLS += desktop build_icons icon target
|
||||
}
|
||||
|
|
1
resources/.gitignore
vendored
Normal file
1
resources/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
linuxinstall
|
|
@ -8,7 +8,7 @@ ignored_files = ['qt.conf', 'resources.qrc', 'resources_autogenerated.qrc', 'win
|
|||
|
||||
# to ignore all files in a/b, add a/b to ignored_directories.
|
||||
# this will ignore a/b/c/d.txt and a/b/xd.txt
|
||||
ignored_directories = ['__pycache__']
|
||||
ignored_directories = ['__pycache__', 'linuxinstall']
|
||||
|
||||
def isNotIgnored(file):
|
||||
# check if file exists in an ignored direcory
|
||||
|
|
Loading…
Reference in a new issue