Skip to content

Commit

Permalink
fix: update vscode addr
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Feb 26, 2024
1 parent 4a366b3 commit d24877a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/tool_install_vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def install_vscode(self):
PrintUtils.print_info("开始根据系统架构,为你下载对应版本的vscode~")
# 根据系统架构下载不同版本的安装包
if osarch=='amd64':
CmdTask('sudo wget http://vscode.cdn.azure.cn/stable/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/code_1.82.2-1694671812_amd64.deb -O /tmp/vscode.deb',os_command=True).run()
CmdTask('sudo wget https://vscode.download.prss.microsoft.com/dbazure/download/stable/903b1e9d8990623e3d7da1df3d33db3e42d80eda/code_1.86.2-1707854558_amd64.deb -O /tmp/vscode.deb',os_command=True).run()
elif osarch=='arm64':
CmdTask('sudo wget http://vscode.cdn.azure.cn/stable/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/code_1.82.2-1694671436_arm64.deb -O /tmp/vscode.deb',os_command=True).run()
CmdTask('sudo wget https://vscode.download.prss.microsoft.com/dbazure/download/stable/903b1e9d8990623e3d7da1df3d33db3e42d80eda/code_1.86.2-1707853305_arm64.deb -O /tmp/vscode.deb',os_command=True).run()
else:
return False
PrintUtils.print_info("下载完成,接下来为你安装Vscode~")
Expand Down

0 comments on commit d24877a

Please sign in to comment.