diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 9a8b9ba..65004e2 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -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") diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2a8bdbb..0d98aca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/update-build-release.yml b/.github/workflows/update-build-release.yml index 981134b..3049edf 100644 --- a/.github/workflows/update-build-release.yml +++ b/.github/workflows/update-build-release.yml @@ -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 diff --git a/PKGBUILD b/PKGBUILD index d5ff8d7..9e6343d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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() { diff --git a/README.md b/README.md index 60454f3..94a4674 100644 --- a/README.md +++ b/README.md @@ -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] +bash repack.sh -x [-o OUTPUT_DIR default=./app] ``` *** @@ -111,7 +111,7 @@ sh repack.sh -x [-o OUTPUT_DIR default=./app] `.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 .asar`. You can build this archive with the following command: ```bash -sh repack.sh [-o OUTPUT_DIR default=./app] +bash repack.sh [-o OUTPUT_DIR default=./app] ``` *** @@ -132,7 +132,7 @@ makepkg You can build `.deb` binary package using the following command: ```bash -sh build_deb.sh [-a default=x64] +bash build_deb.sh [-a default=x64] ``` *** diff --git a/build_deb.sh b/build_deb.sh index feec793..0fe8502 100755 --- a/build_deb.sh +++ b/build_deb.sh @@ -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" diff --git a/templates/PKGBUILD b/templates/PKGBUILD index 5859f91..c536739 100644 --- a/templates/PKGBUILD +++ b/templates/PKGBUILD @@ -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() {