fix x86_64 detection

This commit is contained in:
Vyvir
2024-08-20 10:47:33 +03:00
committed by GitHub
parent 3cd1d97c57
commit f4f3c6c8e0
+1 -1
View File
@@ -277,7 +277,7 @@ class SplashScreen(Handy.Window):
CheckRun = subprocess.run(command, shell=True) CheckRun = subprocess.run(command, shell=True)
if not os.path.isfile(f"{(altlinuxpath)}/anisette-server"): if not os.path.isfile(f"{(altlinuxpath)}/anisette-server"):
self.lbl1.set_text("Downloading anisette-server...") self.lbl1.set_text("Downloading anisette-server...")
if computer_cpu_platform == 'AMD64': if computer_cpu_platform == 'x86_64':
r = requests.get( r = requests.get(
"https://github.com/vyvir/AltLinux/releases/download/v0.5.0/anisette-server-x86_64", "https://github.com/vyvir/AltLinux/releases/download/v0.5.0/anisette-server-x86_64",
allow_redirects=True, allow_redirects=True,