From 559f3312c834afb546f8cd2ffc33ef18306bd851 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Sun, 18 Feb 2024 18:52:45 +0300 Subject: [PATCH 1/2] Use electron 27 version for arch (fix render issues) --- PKGBUILD | 4 ++-- templates/PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c429bf0..70fd416 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc="Yandex Music - Personal recommendations, selections for any occasion an arch=("any") url="https://github.com/cucumber-sp/yandex-music-linux" license=("custom") -depends=("electron" "libpulse" "xdg-utils") +depends=("electron27" "libpulse" "xdg-utils") makedepends=("p7zip" "nodejs" "asar" "jq" "python") source=("https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.0.11.exe" "git+https://github.com/cucumber-sp/yandex-music-linux") @@ -29,6 +29,6 @@ package() { # Create a script to launch the app with Electron echo "#!/bin/sh" > "$pkgdir/usr/bin/yandex-music" - echo 'exec electron /usr/lib/yandex-music/yandex-music.asar "$@"' >> "$pkgdir/usr/bin/yandex-music" + echo 'exec electron27 /usr/lib/yandex-music/yandex-music.asar "$@"' >> "$pkgdir/usr/bin/yandex-music" chmod 755 "$pkgdir/usr/bin/yandex-music" } diff --git a/templates/PKGBUILD b/templates/PKGBUILD index 7f0f63e..9fc5004 100644 --- a/templates/PKGBUILD +++ b/templates/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc="Yandex Music - Personal recommendations, selections for any occasion an arch=("any") url="https://github.com/cucumber-sp/yandex-music-linux" license=("custom") -depends=("electron" "libpulse" "xdg-utils") +depends=("electron27" "libpulse" "xdg-utils") makedepends=("p7zip" "nodejs" "asar" "jq" "python") source=("%exe_link%" "git+https://github.com/cucumber-sp/yandex-music-linux") @@ -29,6 +29,6 @@ package() { # Create a script to launch the app with Electron echo "#!/bin/sh" > "$pkgdir/usr/bin/yandex-music" - echo 'exec electron /usr/lib/yandex-music/yandex-music.asar "$@"' >> "$pkgdir/usr/bin/yandex-music" + echo 'exec electron27 /usr/lib/yandex-music/yandex-music.asar "$@"' >> "$pkgdir/usr/bin/yandex-music" chmod 755 "$pkgdir/usr/bin/yandex-music" } From 0e76ec790a8549753adf60a6534e8ddcfd002702 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Sun, 18 Feb 2024 19:13:06 +0300 Subject: [PATCH 2/2] fix CI scheduled build --- .github/workflows/update-build-release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 0b68baa..bd42bac 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -55,7 +55,6 @@ jobs: commit_long_sha: ${{ steps.commit.outputs.commit_long_sha }} build: - if: ${{ (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') || (needs.update_packages.outputs.new_version) }} needs: update_packages uses: ./.github/workflows/build.yml with: