Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96856a4

Browse files
committed
more error checking #GITBUILD
1 parent828d7f1 commit96856a4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

‎BuildInstaller.bat‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,27 @@ CALL DisableOutOfProcBuild.exe
2929
REM Restore previous directory
3030
CD /D"%current_path%"
3131

32+
REM === Validate required files ===
33+
ECHO:
34+
ECHO === Checking required files ===
35+
36+
SET"error=0"
37+
38+
IFNOTEXIST"UnityLauncherPro\bin\Release\UnityLauncherPro.exe" (
39+
ECHO [ERROR] Missing file: UnityLauncherPro\bin\Release\UnityLauncherPro.exe
40+
SET"error=1"
41+
)
42+
IFNOTEXIST"UnityLauncherPro\Images\icon.ico" (
43+
ECHO [ERROR] Missing file: UnityLauncherPro\Images\icon.ico
44+
SET"error=1"
45+
)
46+
47+
IF%error%NEQ0 (
48+
ECHO [ERROR] Required files are missing. Aborting installer build.
49+
EXIT /B1
50+
)
51+
52+
3253
ECHO:
3354
ECHO === Building Installer ===
3455
CALL"%devenv_path%" UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp