feat: 增加 Client Windows 打包基础 (#92)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd /d "%~dp0"
|
||||
|
||||
where powershell.exe >nul 2>nul
|
||||
if errorlevel 1 (
|
||||
echo [ERROR] powershell.exe not found.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0packaging\build.ps1"
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo [ERROR] Client build failed. See the error above.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo [OK] Client release files are in client\release.
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user