소스 검색

oh-my-posh: fix amd64 arch

raylu 8 달 전
부모
커밋
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)