From 6852a496203bf5de01570da9f6505768787e182d Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 7 Sep 2025 21:40:17 +0800 Subject: [PATCH] :art: Improve build script --- scripts/win-build.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/win-build.bat b/scripts/win-build.bat index 20bd02b17..264b7f823 100644 --- a/scripts/win-build.bat +++ b/scripts/win-build.bat @@ -4,6 +4,9 @@ echo 'use ".\scripts\win-build.bat" instead of "win-build.bat"' echo 'Building UI' cd app call pnpm install +if errorlevel 1 ( + exit /b %errorlevel% +) call pnpm run build if errorlevel 1 ( exit /b %errorlevel%