Эх сурвалжийг харах

oh-my-posh: fix amd64 arch

raylu 8 сар өмнө
parent
commit
2623d3952d
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      install_extras.py

+ 2 - 0
install_extras.py

@@ -189,6 +189,8 @@ def oh_my_posh():
 	arch = platform.machine()
 	if arch == 'aarch64':
 		arch = 'arm64'
+	elif arch == 'x86_64':
+		arch = 'amd64'
 	url = f'https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-{arch}'
 	download(client, url, CURRENT_DIR / 'oh-my-posh')
 	os.chmod(CURRENT_DIR / 'oh-my-posh', 0o755)