Skip to content

Commit

Permalink
fix: electron下载的架构总是x64 #146
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Dec 28, 2024
1 parent b5a842b commit a5b5b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-electron
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ elif [ "$BUILD_ARCH" == "amd64" ];then
BUILD_ARCH="x64"
fi
download_url="https://npmmirror.com/mirrors/electron/${electron_version}/electron-v${electron_version}-linux-${BUILD_ARCH}.zip"
download_url="https://github.com/electron/electron/releases/download/v${electron_version}/electron-v${electron_version}-linux-x64.zip"
download_url="https://github.com/electron/electron/releases/download/v${electron_version}/electron-v${electron_version}-linux-${BUILD_ARCH}.zip"
if [ "$BUILD_ARCH" == "loong64" ];then
# 新世界
electron_version="22.3.27"
Expand Down

0 comments on commit a5b5b6d

Please sign in to comment.