Make sure wine is set to something for game removal function. Added game "Soulblaze"
This commit is contained in:
		
							
								
								
									
										8
									
								
								.install/Soulblaze.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.install/Soulblaze.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | get_installer "soulblaze-win-beta.zip" "https://sword-and-quill.itch.io/soulblaze" | ||||||
|  | download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" | ||||||
|  | export WINEARCH=win64 | ||||||
|  | export winVer="win8" | ||||||
|  | install_wine_bottle | ||||||
|  | unzip -d "$WINEPREFIX/drive_c/Program Files/soulblaze" "${cache}/soulblaze-win-beta.zip" | ||||||
|  | find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; | ||||||
|  | add_launcher "c:\Program Files\soulblaze\Soulblaze.exe" | ||||||
| @@ -782,6 +782,7 @@ game_installer() { | |||||||
|  |  | ||||||
| # remove games | # remove games | ||||||
| game_removal() { | game_removal() { | ||||||
|  |     wine="${wine:-wine}" | ||||||
|     mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) |     mapfile -t lines < <(sed -e '/^$/d' -e '/^[[:space:]]*#/d' "${configFile}" 2> /dev/null) | ||||||
|     if [[ ${#lines} -eq 0 ]]; then |     if [[ ${#lines} -eq 0 ]]; then | ||||||
|         echo "No games found." |         echo "No games found." | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user