Use pixmaps for desktop icon

This commit is contained in:
kdusek
2025-12-08 00:31:42 +01:00
parent 31c8b3139a
commit b813802e32
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ jobs:
mkdir -p build/linux/usr/share/applications mkdir -p build/linux/usr/share/applications
mkdir -p build/linux/usr/share/icons mkdir -p build/linux/usr/share/icons
cp -r dist/gotify-tray build/linux/opt/gotify-tray cp -r dist/gotify-tray build/linux/opt/gotify-tray
cp gotify_tray/gui/images/gotify-small.png build/linux/usr/share/icons/gotify-tray.png cp gotify_tray/gui/images/gotify-small.png build/linux/usr/share/pixmaps/gotify-tray.png
cp gotifytray.desktop build/linux/usr/share/applications cp gotifytray.desktop build/linux/usr/share/applications
find build/linux/opt/gotify-tray -type f -exec chmod 644 -- {} + find build/linux/opt/gotify-tray -type f -exec chmod 644 -- {} +
find build/linux/opt/gotify-tray -type d -exec chmod 755 -- {} + find build/linux/opt/gotify-tray -type d -exec chmod 755 -- {} +

View File

@@ -3,7 +3,7 @@ Name=Gotify Tray
Comment=A tray notification application for receiving messages from a Gotify server. Comment=A tray notification application for receiving messages from a Gotify server.
Path=/opt/gotify-tray Path=/opt/gotify-tray
Exec=/opt/gotify-tray/gotify-tray Exec=/opt/gotify-tray/gotify-tray
Icon=gotify-tray Icon=/usr/share/pixmaps/gotify-tray.png
Terminal=false Terminal=false
Type=Application Type=Application
Categories=Network; Categories=Network;