From 6c9cd3f91653764b832ea5136cda04c9e0f8fe50 Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Sun, 26 May 2024 08:00:20 +0200 Subject: [PATCH] Linux desktop file and debian package name (#475) * Fix #391 & #472 desktop file and deb package name * Update build.yml - deploy psst.svg * Rename psst.svg to logo.svg --- .github/workflows/build.yml | 2 + .pkg/DEBIAN/control | 2 +- .pkg/psst.desktop | 15 +- psst-gui/assets/logo.svg | 1206 +++++++++++++++++++++++++++++++++++ 4 files changed, 1218 insertions(+), 7 deletions(-) create mode 100644 psst-gui/assets/logo.svg diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68a69b19..cb03b319 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,6 +126,8 @@ jobs: mkdir -p "${{runner.workspace}}/pkg/usr/share/icons/hicolor/${LOGO_SIZE}x${LOGO_SIZE}/" cp "./psst-gui/assets/${LOGO}" "$_/psst.png" done + mkdir -p "${{runner.workspace}}/pkg/usr/share/icons/hicolor/scalable/apps/" + cp "./psst-gui/assets/logo.svg" "$_/psst.svg" - name: Set Permissions run: chmod 755 ${{runner.workspace}}/pkg/usr/bin/psst-gui diff --git a/.pkg/DEBIAN/control b/.pkg/DEBIAN/control index 9a514e64..825ee909 100644 --- a/.pkg/DEBIAN/control +++ b/.pkg/DEBIAN/control @@ -1,4 +1,4 @@ -Package: psst +Package: psst-gui Architecture: amd64 Maintainer: Jan Pochyla Section: sound diff --git a/.pkg/psst.desktop b/.pkg/psst.desktop index 3179cb1d..ca0c8f9f 100755 --- a/.pkg/psst.desktop +++ b/.pkg/psst.desktop @@ -1,9 +1,12 @@ [Desktop Entry] -Categories=Audio;AudioVideo -Comment=Fast and multi-platform Spotify client with native GUI -Exec=psst-gui +Type=Application Name=Psst +Comment=Fast and multi-platform Spotify client with native GUI +GenericName=Music Player +Icon=psst +TryExec=psst-gui +Exec=psst-gui %U Terminal=false -Type=Application -Version=1.0 -Icon=psst.png \ No newline at end of file +MimeType=x-scheme-handler/psst; +Categories=Audio;Music;Player;AudioVideo; +StartupWMClass=psst-gui diff --git a/psst-gui/assets/logo.svg b/psst-gui/assets/logo.svg new file mode 100644 index 00000000..fe8c412e --- /dev/null +++ b/psst-gui/assets/logo.svg @@ -0,0 +1,1206 @@ + + + + + + + + + +