2017-02-16 22:26:48 +08:00
|
|
|
@echo off
|
|
|
|
setlocal
|
|
|
|
|
2017-04-04 23:03:39 +08:00
|
|
|
set ELECTRON_RUN_AS_NODE=1
|
2017-02-17 00:03:47 +08:00
|
|
|
|
2017-02-16 22:26:48 +08:00
|
|
|
pushd %~dp0\..
|
|
|
|
|
|
|
|
for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
|
|
|
|
set NAMESHORT=%NAMESHORT: "=%
|
|
|
|
set NAMESHORT=%NAMESHORT:"=%.exe
|
|
|
|
set CODE=".build\electron\%NAMESHORT%"
|
|
|
|
|
2024-01-09 15:33:34 +08:00
|
|
|
%CODE% %*
|
2017-02-16 22:26:48 +08:00
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
endlocal
|
2021-11-10 02:09:26 +08:00
|
|
|
exit /b %errorlevel%
|