Updated installer for swamp. It now uses the new code to make sure everything happens in 7.7

This commit is contained in:
stormdragon2976 2023-01-24 16:09:13 -05:00
parent 8bdba9d93e
commit ed82d449c6

View File

@ -2673,6 +2673,7 @@ EOF
add_launcher "c:\Program Files\Survive the Wild\stw.exe"
;;
"Swamp")
install_wine "${version}" "32"
export bottle="aprone"
export winVer="win7"
export winetricksSettings="vd=1024x768"
@ -2685,8 +2686,8 @@ EOF
if curl -L --output "${cache}/SwampPatch.zip" "https://www.kaldobsky.com/audiogames/SwampPatch.zip" ; then
unzip -o -d "$WINEPREFIX/drive_c/Program Files/swamp" "${cache}/SwampPatch.zip"
fi
wine 'c:\Program Files\swamp\checkup.exe' /verysilent
#wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat'
$wine 'c:\Program Files\swamp\checkup.exe' /verysilent
#$wine cmd.exe /c 'cd /d c:\Program Files\swamp && Windows32bit.bat'
# Delete music if requested.
if [[ $deleteMusic -eq 0 ]]; then
rm -frv "$WINEPREFIX/drive_c/Program Files/swamp/sounds/Music/"