Setup: allow user to auto launch the launcher, so they can conveniently launch things when the setup is done. (#2020)
This commit is contained in:
		
							parent
							
								
									caa8d478f5
								
							
						
					
					
						commit
						d9594b049c
					
				| 
						 | 
				
			
			@ -2,10 +2,10 @@
 | 
			
		|||
#define min_windows ReadIni(SourcePath + "\setup.ini", "Data", "min_windows")
 | 
			
		||||
 | 
			
		||||
#define MyAppName "Archipelago"
 | 
			
		||||
#define MyAppExeName "ArchipelagoServer.exe"
 | 
			
		||||
#define MyAppExeName "ArchipelagoLauncher.exe"
 | 
			
		||||
#define MyAppIcon "data/icon.ico"
 | 
			
		||||
#dim VersionTuple[4]
 | 
			
		||||
#define MyAppVersion GetVersionComponents(source_path + '\ArchipelagoServer.exe', VersionTuple[0], VersionTuple[1], VersionTuple[2], VersionTuple[3])
 | 
			
		||||
#define MyAppVersion GetVersionComponents(source_path + '\ArchipelagoLauncher.exe', VersionTuple[0], VersionTuple[1], VersionTuple[2], VersionTuple[3])
 | 
			
		||||
#define MyAppVersionText Str(VersionTuple[0])+"."+Str(VersionTuple[1])+"."+Str(VersionTuple[2])
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -187,6 +187,7 @@ Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/passive /norestart"; Check: I
 | 
			
		|||
Filename: "{app}\ArchipelagoLttPAdjuster"; Parameters: "--update_sprites"; StatusMsg: "Updating Sprite Library..."; Components: client/sni/lttp or generator/lttp
 | 
			
		||||
Filename: "{app}\ArchipelagoMinecraftClient.exe"; Parameters: "--install"; StatusMsg: "Installing Forge Server..."; Components: client/minecraft
 | 
			
		||||
Filename: "{app}\ArchipelagoLauncher"; Parameters: "--update_settings"; StatusMsg: "Updating host.yaml..."; Flags: runasoriginaluser runhidden
 | 
			
		||||
Filename: "{app}\ArchipelagoLauncher"; Description: "{cm:LaunchProgram,{#StringChange('Launcher', '&', '&&')}}"; Flags: nowait postinstall skipifsilent
 | 
			
		||||
 | 
			
		||||
[UninstallDelete]
 | 
			
		||||
Type: dirifempty; Name: "{app}"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue