diff --git a/scripts/update_flathub_version.py b/scripts/update_flathub_version.py index 8afae00e..27d6682d 100644 --- a/scripts/update_flathub_version.py +++ b/scripts/update_flathub_version.py @@ -15,7 +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-x86_64.tar.xz" +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") tar = requests.get(tar_url)