返回 CodeWhale
install.bat
根目录 / scripts / release / install.bat
1 @echo off
2 setlocal
3 :: One guarded archive installer; optional host remains opt-in, Node default.
4 if not exist "%~dp0install.ps1" (
5 echo ERROR: install.ps1 missing; extract the complete release archive.
6 exit /b 1
7 )
8 powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0install.ps1"
9 exit /b %ERRORLEVEL%
10
10 lines Plain Text