We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d340b commit 5cf2f9aCopy full SHA for 5cf2f9a
BuildInstaller.bat
@@ -52,9 +52,19 @@ IF %error% NEQ 0 (
52
53
ECHO:
54
ECHO === Building Installer ===
55
-CALL "%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller
+"%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller > build_output.log 2>&1
56
SET "exitCode=%ERRORLEVEL%"
57
58
+TYPE build_output.log
59
+ECHO:
60
+ECHO === devenv.exe exit code: %exitCode% ===
61
+
62
+IF NOT "%exitCode%"=="0" (
63
+ ECHO [ERROR] Installer build failed. Check build_output.log for details.
64
+ EXIT /B %exitCode%
65
+)
66
67
68
69
ECHO === Build Complete ===
70
0 commit comments