From b6cef34a3b62e1384241ba9d6ffa782bc96e900f Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Fri, 17 Mar 2023 16:15:35 +0600 Subject: [PATCH] chore: flathub yaml update script --- scripts/update_flathub_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)