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

Merge pull request #55 from cucumber-sp/dev

Make deb use latest electron
This commit is contained in:
Andrey Onishchenko 2024-02-23 19:03:42 +03:00 committed by GitHub
commit 4d758f3204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,9 @@ on:
pull_request:
branches:
- '*'
push:
branches:
- 'dev'
jobs:

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