Browse Source

命令打印 nodejs 版本

pull/366/head
王良 2 months ago
parent
commit
4867e701a5
  1. 3
      _script/1、installEnv.bat
  2. 2
      _script/2、installBootstrap.bat
  3. 2
      _script/3、buildAndRun.bat
  4. 3
      _script/4、generateSetupFile.bat

3
_script/1、installEnv.bat

@ -1,4 +1,7 @@
cd ../
node -v
npm install -g cnpm --registry=https://registry.npmmirror.com
cnpm install -g lerna@6

2
_script/2、installBootstrap.bat

@ -1,3 +1,5 @@
cd ../
node -v
lerna bootstrap

2
_script/3、buildAndRun.bat

@ -1,3 +1,5 @@
cd ../packages/gui
node -v
npm run electron

3
_script/4、generateSetupFile.bat

@ -1,5 +1,8 @@
cd ../packages/gui
node -v
if not exist "dist_electron" mkdir "dist_electron"
start dist_electron
npm run electron:build

Loading…
Cancel
Save