完善开发环境工具、音乐服务和界面性能

This commit is contained in:
2026-08-17 03:09:59 +08:00
parent 8b2dd89d2f
commit 92e5c330f2
22 changed files with 1185 additions and 156 deletions
+8 -1
View File
@@ -2,6 +2,10 @@
setlocal
chcp 65001 >nul 2>&1
set "ROOT=%~dp0"
set "PAUSE_ON_ERROR=1"
for %%A in (%*) do (
if /I "%%~A"=="--no-pause" set "PAUSE_ON_ERROR=0"
)
if "%ROOT:~-1%"=="\" set "ROOT=%ROOT:~0,-1%"
cd /d "%ROOT%"
@@ -15,5 +19,8 @@ set "EXITCODE=%ERRORLEVEL%"
if not "%EXITCODE%"=="0" (
echo.
echo [ERROR] WinUI build failed with exit code %EXITCODE%.
echo [ERROR] Detailed logs: %ROOT%\build\winui\logs
if "%PAUSE_ON_ERROR%"=="1" pause
exit /b %EXITCODE%
)
exit /b %EXITCODE%
exit /b 0