Skip to content

Commit

Permalink
ci: fix npm config agora_electron_sdk_pre_built
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed May 26, 2023
1 parent c3d1341 commit 182aa2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci/electron-sdk-build-mac-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ rm -rf tmp
# npm install --verbose
#
# Example 2
yarn config set agora-electron-sdk-pre-built 0
npm config set agora_electron_sdk_pre_built false
npm install --verbose
npm run totalBuild --verbose
npm run zipBuild
yarn config delete agora-electron-sdk-pre-built
npm config delete agora_electron_sdk_pre_built
#
# Example 3
# npm run build -- --prebuilt=false --electronVersion=5.0.8 --arch=x64
4 changes: 2 additions & 2 deletions ci/electron-sdk-build-windows-release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dir
call npm -v
call node -v
call npm config list
call yarn config set agora-electron-sdk-pre-built 0
call npm config set agora_electron_sdk_pre_built false
if %1 == ia32 (
echo sdk_ia32
call npm install --verbose --agora_electron_sdk_arch=ia32
Expand All @@ -14,7 +14,7 @@ if %1 == x64 (
call npm install --verbose --agora_electron_sdk_arch=x64
call npm run totalBuild --verbose --agora_electron_sdk_arch=x64
)
call yarn config delete agora-electron-sdk-pre-built
call npm config delete agora_electron_sdk_pre_built

set count=0
:loop
Expand Down

0 comments on commit 182aa2f

Please sign in to comment.