0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Make deb use latest electron

This commit is contained in:
Andrey Onishchenko 2024-02-23 18:58:24 +03:00
parent 58405ccbaa
commit 1b8f4ab86b

View File

@ -13,7 +13,8 @@ usage() {
download_electron_binary(){
arch=${1}
echo "Downloading electron ${arch}"
curl -L -o "${TEMPDIR}/electron-${arch}.zip" "https://github.com/electron/electron/releases/download/v27.3.2/electron-v27.3.2-linux-${arch}.zip"
LINK=$(jq -r .electron."${arch}" ./utility/version_info.json)
curl -L -o "${TEMPDIR}/electron-${arch}.zip" "${LINK}"
unzip -q "${TEMPDIR}/electron-${arch}.zip" -d "${TEMPDIR}/electron-${arch}"
}