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

Switch from sh to bash

This commit is contained in:
Andrey Onishchenko 2024-03-02 14:55:37 +03:00
parent c12c5ac539
commit 91332d6088
7 changed files with 10 additions and 10 deletions

View File

@ -32,7 +32,7 @@ case $OS in
mv ./src/app/yandex-music.asar dist/yandex-music.asar
mv ./src/app/release_notes.json dist/release_notes.json
sh ./build_deb.sh -a all
bash ./build_deb.sh -a all
mv deb/*.deb dist
;;
"Ubuntu")

View File

@ -27,7 +27,7 @@ jobs:
ref: ${{ (inputs.ref || '') }}
- name: Build
run: sh ./.github/workflows/build.sh
run: bash ./.github/workflows/build.sh
- name: Upload Arch artifact
uses: actions/upload-artifact@v4

View File

@ -32,7 +32,7 @@ jobs:
run: python utility/generate_packages.py
- name: Retrieve version to make commit
run: sh .github/workflows/retrieve_version.sh
run: bash .github/workflows/retrieve_version.sh
- name: Commit and push changes
uses: EndBug/add-and-commit@v9.1.4
@ -86,7 +86,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install jq
sh ./.github/workflows/retrieve_version.sh
bash ./.github/workflows/retrieve_version.sh
- name: Get Release Notes HTML
run: echo "release_html=$(jq -r --arg version "$VERSION" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_ENV

View File

@ -14,7 +14,7 @@ source=("https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64
sha256sums=("4ebeac9620f60e9e2333114cf8c8fb3dc6f2c2c70da58ba56902aa75d65ce4f8" "SKIP")
build() {
sh "$srcdir/yandex-music-linux/repack.sh" "$srcdir/Yandex_Music_x64_5.0.12.exe"
bash "$srcdir/yandex-music-linux/repack.sh" "$srcdir/Yandex_Music_x64_5.0.12.exe"
}
package() {

View File

@ -102,7 +102,7 @@ Last step is to download original client `.exe` file. You can get it yourself or
If you only want to get extracted app project with applied patches, you can use the following command:
```bash
sh repack.sh -x [-o OUTPUT_DIR default=./app] <YM.exe>
bash repack.sh -x [-o OUTPUT_DIR default=./app] <YM.exe>
```
***
@ -111,7 +111,7 @@ sh repack.sh -x [-o OUTPUT_DIR default=./app] <YM.exe>
`.asar` is archive file that containes all electron app resources and information, but doesn't hold Electron binaries. If you have `.asar` file you can launch app using `electron <app>.asar`. You can build this archive with the following command:
```bash
sh repack.sh [-o OUTPUT_DIR default=./app] <YM.exe>
bash repack.sh [-o OUTPUT_DIR default=./app] <YM.exe>
```
***
@ -132,7 +132,7 @@ makepkg
You can build `.deb` binary package using the following command:
```bash
sh build_deb.sh [-a <x64|armv7l|arm64|all> default=x64]
bash build_deb.sh [-a <x64|armv7l|arm64|all> default=x64]
```
***

View File

@ -114,7 +114,7 @@ echo "Checking sha256"
echo "${exe_sha256} ${TEMPDIR}/${exe_name}" | sha256sum -c
echo "Repaking ${exe_name}"
sh repack.sh -o "${TEMPDIR}/app" "${TEMPDIR}/${exe_name}"
bash repack.sh -o "${TEMPDIR}/app" "${TEMPDIR}/${exe_name}"
mkdir -p "deb"

View File

@ -14,7 +14,7 @@ source=("%exe_link%" "git+https://github.com/cucumber-sp/yandex-music-linux")
sha256sums=("%exe_sha256%" "SKIP")
build() {
sh "$srcdir/yandex-music-linux/repack.sh" "$srcdir/%exe_name%"
bash "$srcdir/yandex-music-linux/repack.sh" "$srcdir/%exe_name%"
}
package() {