Pārlūkot izejas kodu

jjui: update to new filename

raylu 2 nedēļas atpakaļ
vecāks
revīzija
aa82b29e8a
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      install_extras.py

+ 3 - 1
install_extras.py

@@ -259,7 +259,9 @@ def jjui():
 
 	system = platform.system().lower()
 	arch = platform.machine()
-	name = f'jjui-{version}-{arch}-{system}'
+	if arch == 'x86_64':
+		arch = 'amd64'
+	name = f'jjui-{version.removeprefix("v")}-{system}-{arch}'
 	url = f'https://github.com/idursun/jjui/releases/download/{version}/{name}.zip'
 	zip_path = CURRENT_DIR / 'jjui.zip'
 	download(client, url, zip_path)