Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve build script

Daniel6852a496203b
diff --git a/scripts/win-build.bat b/scripts/win-build.bat
index 20bd02b17e..264b7f8238 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%