Browse Source

fix lazygit on amd64

raylu 1 year ago
parent
commit
8c5f566480
1 changed files with 1 additions and 1 deletions
  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'