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" }