From 19f715fa26e203417e14d61cca228666e4ee24a7 Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Sat, 18 May 2024 19:14:02 +0200 Subject: [PATCH 1/4] Fix #391 & #472 desktop file and deb package name --- .pkg/DEBIAN/control | 2 +- .pkg/psst.desktop | 15 +- psst-gui/assets/psst.svg | 1206 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 1216 insertions(+), 7 deletions(-) create mode 100644 psst-gui/assets/psst.svg 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/psst.svg b/psst-gui/assets/psst.svg new file mode 100644 index 00000000..fe8c412e --- /dev/null +++ b/psst-gui/assets/psst.svg @@ -0,0 +1,1206 @@ + + + + + + + + + + From 0d49df8cfd6176f78d1fe5bfe3d9e711ba53d57b Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Sun, 19 May 2024 08:55:35 +0200 Subject: [PATCH 2/4] Update build.yml - deploy psst.svg --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68a69b19..74ce4e18 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/psst.svg" $_ - name: Set Permissions run: chmod 755 ${{runner.workspace}}/pkg/usr/bin/psst-gui From 3d5f2842d681af03fe271c9fe6efc8de45875c3b Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Tue, 21 May 2024 22:41:09 +0200 Subject: [PATCH 3/4] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74ce4e18..cb03b319 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,7 +127,7 @@ jobs: cp "./psst-gui/assets/${LOGO}" "$_/psst.png" done mkdir -p "${{runner.workspace}}/pkg/usr/share/icons/hicolor/scalable/apps/" - cp "./psst-gui/assets/psst.svg" $_ + cp "./psst-gui/assets/logo.svg" "$_/psst.svg" - name: Set Permissions run: chmod 755 ${{runner.workspace}}/pkg/usr/bin/psst-gui From d1573d0a1f0f623b93aa2f13fe4f0fc14084c820 Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Tue, 21 May 2024 22:37:08 +0200 Subject: [PATCH 4/4] Rename psst.svg to logo.svg --- psst-gui/assets/{psst.svg => logo.svg} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename psst-gui/assets/{psst.svg => logo.svg} (100%) diff --git a/psst-gui/assets/psst.svg b/psst-gui/assets/logo.svg similarity index 100% rename from psst-gui/assets/psst.svg rename to psst-gui/assets/logo.svg