File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,27 @@ CALL DisableOutOfProcBuild.exe
29
29
REM Restore previous directory
30
30
CD /D " %current_path% "
31
31
32
+ REM === Validate required files ===
33
+ ECHO :
34
+ ECHO === Checking required files ===
35
+
36
+ SET " error = 0"
37
+
38
+ IF NOT EXIST " UnityLauncherPro\bin\Release\UnityLauncherPro.exe" (
39
+ ECHO [ERROR] Missing file: UnityLauncherPro\bin\Release\UnityLauncherPro.exe
40
+ SET " error = 1"
41
+ )
42
+ IF NOT EXIST " UnityLauncherPro\Images\icon.ico" (
43
+ ECHO [ERROR] Missing file: UnityLauncherPro\Images\icon.ico
44
+ SET " error = 1"
45
+ )
46
+
47
+ IF %error% NEQ 0 (
48
+ ECHO [ERROR] Required files are missing. Aborting installer build.
49
+ EXIT /B 1
50
+ )
51
+
52
+
32
53
ECHO :
33
54
ECHO === Building Installer ===
34
55
CALL " %devenv_path% " UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller
You can’t perform that action at this time.
0 commit comments