Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from AgoraIO-Community/dev/fix
Browse files Browse the repository at this point in the history
fix: build error on windows x64
  • Loading branch information
zhangtao1104 authored Jul 18, 2022
2 parents 7b8c810 + 9331172 commit 82365a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dowmloadPrebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const workspaceDir = `${path.join(__dirname, "..")}`;
const getDownloadURL = () => {
let downloadUrl = `http://download.agora.io/sdk/release/Electron-${getOS()}-${packageVersion}-napi.zip`;
if (platform === "win32" && arch === "x64") {
downloadUrl = `http://download.agora.io/sdk/release/Electron-win64-${addonVersion}-napi.zip`;
downloadUrl = `http://download.agora.io/sdk/release/Electron-win64-${packageVersion}-napi.zip`;
}
return downloadUrl;
};
Expand Down

0 comments on commit 82365a2

Please sign in to comment.