raylu 5 сар өмнө
parent
commit
a2add39a64
1 өөрчлөгдсөн 6 нэмэгдсэн , 1 устгасан
  1. 6 1
      install_extras.py

+ 6 - 1
install_extras.py

@@ -284,7 +284,12 @@ def procs():
 	version = latest['name']
 
 	system = platform.system().lower()
-	name = f'procs-{version}-{platform.machine()}-{system}.zip'
+	arch = platform.machine()
+	if arch == 'arm64':
+		arch = 'aarch64'
+	if system == 'darwin':
+		system = 'mac'
+	name = f'procs-{version}-{arch}-{system}.zip'
 	url = f'https://github.com/dalance/procs/releases/download/{version}/{name}'
 	zip_path = CURRENT_DIR / 'procs.zip'
 	download(client, url, zip_path)