diff --git a/.github/workflows/spotube-release-binary.yml b/.github/workflows/spotube-release-binary.yml index 05c4809f..c3ddf9d1 100644 --- a/.github/workflows/spotube-release-binary.yml +++ b/.github/workflows/spotube-release-binary.yml @@ -100,7 +100,7 @@ jobs: path: dist/ linux: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: subosito/flutter-action@v2.10.0 @@ -296,7 +296,7 @@ jobs: run: | npm install -g appdmg mkdir -p build/${{ env.BUILD_VERSION }} - appdmg appdmg.json build/Spotube-macos-x86_64.dmg + appdmg appdmg.json build/Spotube-macos-universal.dmg - name: Debug With SSH When fails if: ${{ failure() && inputs.debug && inputs.channel == 'nightly' }} @@ -308,7 +308,7 @@ jobs: with: name: Spotube-Release-Binaries path: | - build/Spotube-macos-x86_64.dmg + build/Spotube-macos-universal.dmg upload: runs-on: ubuntu-latest diff --git a/README.md b/README.md index 96cda75c..0dcca3cd 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ This handy table lists all methods you can use to install Spotube: MacOS - + MacOS Download diff --git a/scripts/update_flathub_version.py b/scripts/update_flathub_version.py index 27d6682d..3ac5d6f7 100644 --- a/scripts/update_flathub_version.py +++ b/scripts/update_flathub_version.py @@ -15,6 +15,7 @@ with open(YAML_FILENAME, mode="r", encoding="utf-8") as input: # Requires the 2nd VERSION argument to be passed version = sys.argv[1:][0] + tar_url = f"https://github.com/{REPO}/releases/download/v{version}/spotube-linux-{version}-x86_64.tar.xz" tar_sha256 = hashlib.sha256() print(f"Downloading file {tar_url} to generete sha256 sum") @@ -23,7 +24,7 @@ for chunk in tar.iter_content(): if chunk: tar_sha256.update(chunk) -tar_source = config["modules"][0]["sources"][0] +tar_source = config["modules"][-1]["sources"][0] tar_source["url"] = tar_url tar_source["sha256"] = tar_sha256.hexdigest() diff --git a/website/components/DownloadButton.tsx b/website/components/DownloadButton.tsx index 4805640b..1aa43e70 100644 --- a/website/components/DownloadButton.tsx +++ b/website/components/DownloadButton.tsx @@ -50,7 +50,7 @@ const DownloadLinks = Object.freeze({ [Platform.mac]: [ { name: "dmg", - url: baseURL + "Spotube-macos-x86_64.dmg", + url: baseURL + "Spotube-macos-universal.dmg", icon: , }, ],