0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-30 10:32:31 +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
2 changed files with 5 additions and 1 deletions

View File

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

View File

@@ -13,7 +13,8 @@ usage() {
download_electron_binary(){ download_electron_binary(){
arch=${1} arch=${1}
echo "Downloading electron ${arch}" 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}" unzip -q "${TEMPDIR}/electron-${arch}.zip" -d "${TEMPDIR}/electron-${arch}"
} }