Skip to content

Commit 828d7f1

Browse files
committed
add error check for installer build #GITBUILD
1 parent 5ec4d9e commit 828d7f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BuildInstaller.bat

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ CD /D "%current_path%"
3232
ECHO:
3333
ECHO === Building Installer ===
3434
CALL "%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller
35+
SET "exitCode=%ERRORLEVEL%"
3536

3637
ECHO:
3738
ECHO === Build Complete ===
3839

39-
REM Clean up registry key if needed (optional)
40+
REM Optional cleanup: disable workaround
4041
REG DELETE "HKCU\Software\Microsoft\VisualStudio\Setup" /v VSDisableOutOfProcBuild /f >NUL 2>&1
4142

4243
ENDLOCAL
44+
EXIT /B %exitCode%

0 commit comments

Comments
 (0)