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:
commit
4d758f3204
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -10,6 +10,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- '*'
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'dev'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user