File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,27 @@ CALL DisableOutOfProcBuild.exe
2929REM  Restore previous directory
3030CD  /D " %current_path% " 
3131
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+ 
3253ECHO :
3354ECHO  === Building Installer ===
3455CALL  " %devenv_path% "   UnityLauncherPro.sln /Rebuild Release /Project UnityLauncherProInstaller
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments