forked from CastroFidel/PortWINE
		
	Added Arizona Games Launcher
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/arizonagameslauncher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								data_from_portwine/img/gui/arizonagameslauncher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.7 KiB | 
							
								
								
									
										22
									
								
								data_from_portwine/scripts/pw_autoinstall/PW_ARIZONA_GAMES_LAUNCHER
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										22
									
								
								data_from_portwine/scripts/pw_autoinstall/PW_ARIZONA_GAMES_LAUNCHER
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| #!/usr/bin/env bash | ||||
| # Author: chal55rus | ||||
| ######################################################################## | ||||
| export PW_PREFIX_NAME="ARIZONA_GAMES_LAUNCHER" | ||||
| export LAUNCH_PARAMETERS=("/S") | ||||
| export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Arizona Games Launcher.exe" | ||||
| export PORTWINE_CREATE_SHORTCUT_NAME="Arizona Games Launcher" | ||||
|  | ||||
| start_portwine | ||||
| if try_download "https://pc.az-ins.com/Arizona%20Launcher.exe" "${PW_AUTOINSTALL_EXE}" no_mirror | ||||
| then | ||||
|     pw_start_progress_bar_install_game "Arizona Games Launcher." | ||||
| #    pw_kill_autostart Arizona Games Launcher.exe & | ||||
|     pw_run "${PW_AUTOINSTALL_EXE}" | ||||
|     portwine_exe="$WINEPREFIX/drive_c/Program Files/Arizona Games Launcher/Arizona Games Launcher.exe" | ||||
|     try_remove_file "${PW_AUTOINSTALL_EXE}" | ||||
|     try_remove_file "${portwine_exe}.ppdb" | ||||
|     kill_portwine | ||||
|     pw_stop_progress_bar | ||||
|     portwine_create_shortcut | ||||
| fi | ||||
| stop_portwine | ||||
| @@ -754,6 +754,7 @@ else | ||||
|     --field="   Star Conflict"!"$PW_GUI_ICON_PATH/starconflict.png"!"":"FBTN" '@bash -c "button_click --normal PW_STAR_CONFLICT"' \ | ||||
|     --field="   GameXP"!"$PW_GUI_ICON_PATH/gamexp.png"!"":"FBTN" '@bash -c "button_click --normal PW_GAME_XP"' \ | ||||
|     --field="   Lost Light"!"$PW_GUI_ICON_PATH/lostlight.png"!"":"FBTN" '@bash -c "button_click --normal PW_LOST_LIGHT"' \ | ||||
|     --field="   Arizona Games Launchert"!"$PW_GUI_ICON_PATH/arizonagameslauncher.png"!"":"FBTN" '@bash -c "button_click --normal PW_ARIZONA_GAMES_LAUNCHER"' \ | ||||
|     2>/dev/null & | ||||
|  | ||||
|     export START_FROM_PP_GUI="1" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user