-
Notifications
You must be signed in to change notification settings - Fork 8
/
make.bat
17 lines (13 loc) · 899 Bytes
/
make.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REM expand path with Msbuild.exe path, helps nw-gyp.cmd
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe > %temp%\MSBUILD_PATH && set /P MSBUILD_PATH=<%temp%\MSBUILD_PATH
for %%F in ("%MSBUILD_PATH%") do set MSBUILD_DIR=%%~dpF
set path=%path%;%MSBUILD_DIR%
where msbuild.exe
REM in vs2017 cmd line
call prebuildify --target node-webkit@0.14.6 --strip --arch=ia32 --node-gyp=nw-gyp.cmd
call prebuildify --target node-webkit@0.26.0 --strip --arch=ia32 --node-gyp=nw-gyp.cmd
call prebuildify --target node-webkit@0.26.6 --strip --arch=ia32 --node-gyp=nw-gyp.cmd
call prebuildify --target node@10.24.0 --strip --arch=ia32
REM in vs2019 cmd line
call prebuildify --target node@8.17.0 --strip --arch=x64
call prebuildify --target node@16.20.2 --strip --arch=x64