Browse Source

fix fx for x64

raylu 5 months ago
parent
commit
bdbe113cf0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      install_extras.py

+ 2 - 0
install_extras.py

@@ -160,6 +160,8 @@ def fx():
 	arch = platform.machine()
 	if arch == 'aarch64':
 		arch = 'arm64'
+	elif arch == 'x86_64':
+		arch = 'amd64'
 	url = f'https://github.com/antonmedv/fx/releases/latest/download/fx_linux_{arch}'
 	download(client, url, CURRENT_DIR / 'fx')
 	os.chmod(CURRENT_DIR / 'fx', 0o755)