mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
Use electron 27 version for arch (fix render issues)
Dep fix
This commit is contained in:
parent
a9ac7a1c13
commit
fea0c427dd
2
.github/workflows/build.sh
vendored
2
.github/workflows/build.sh
vendored
@ -16,7 +16,7 @@ case $OS in
|
||||
"Arch Linux")
|
||||
echo "Arch Linux"
|
||||
pacman -Syy --noconfirm
|
||||
pacman -S --noconfirm git sudo base-devel p7zip nodejs jq asar electron libpulse dpkg unzip xdg-utils python
|
||||
pacman -S --noconfirm git sudo base-devel p7zip nodejs jq asar electron27 libpulse dpkg unzip xdg-utils python
|
||||
# fix makepkg from non-root
|
||||
mkdir /home/build
|
||||
chgrp nobody /home/build
|
||||
|
4
PKGBUILD
4
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"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user