Explorar o código

fix lazygit on amd64

raylu hai 1 ano
pai
achega
8c5f566480
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      install_extras.py

+ 1 - 1
install_extras.py

@@ -135,7 +135,7 @@ def lazygit():
 	client = httpx.Client()
 	latest = gh_latest_version(client, 'jesseduffield', 'lazygit')
 	version = latest['name']
-	arch = platform.processor()
+	arch = platform.machine()
 	if arch == 'aarch64':
 		arch = 'arm64'
 	url = f'https://github.com/jesseduffield/lazygit/releases/download/{version}/lazygit_{version.lstrip("v")}_{platform.system()}_{arch}.tar.gz'