From f850ca80f199749f72d2ae77a247ad65890e8f6f Mon Sep 17 00:00:00 2001 From: konqi Date: Wed, 18 Nov 2020 20:56:56 +0100 Subject: [PATCH] fix: windows installer fixed, now uses "zipball_url" for gifski --- src/video2x_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video2x_setup.py b/src/video2x_setup.py index 7fe86f5..39291fc 100755 --- a/src/video2x_setup.py +++ b/src/video2x_setup.py @@ -155,8 +155,8 @@ class Video2xSetup: latest_release = requests.get('https://api.github.com/repos/ImageOptim/gifski/releases/latest').json() for a in latest_release['assets']: - if re.search(r'gifski-.*\.tar\.xz', a['browser_download_url']): - gifski_tar_gz = download(a['browser_download_url'], tempfile.gettempdir()) + if re.search(r'gifski-.*\.tar\.xz\.7z', a['browser_download_url']): + gifski_tar_gz = download(a['zipball_url'], tempfile.gettempdir()) self.trash.append(gifski_tar_gz) # extract and rename