Fixed a bug with Mist World installer. Apparently in ' sneaked it's way into the installer. Added an alert functioon in case there's something that needs to be read for an installer.

This commit is contained in:
stormdragon2976 2023-02-06 05:04:26 -05:00
parent 5e1ca7ce7f
commit dd1007dce1

View File

@ -45,6 +45,13 @@ EOF
export DIALOGOPTS='--no-lines --visit-items'
# Alerts, for when user needs to read something.
alert() {
play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t
echo
read -rp "Press enter to continue." continue
}
# Check for latest news
check_news() {
trap return INT
@ -1268,6 +1275,7 @@ case "${game}" in
add_launcher "c:\Program Files\AudioQuake\AudioQuake.exe"
echo
echo "After you launch the game, press tab then enter and it should begin speaking."
alert
;;
"Battle of the Hunter")
export bottle="tunmi13"
@ -2327,7 +2335,7 @@ EOF
;;
"Mist World")
export winVer="win7"
' get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link"
get_installer "Mist World_Setup.exe" "https://drive.google.com/file/d/12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-/view?usp=share_link"
install_wine_bottle
download "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
7z x -o"$WINEPREFIX/drive_c/Program Files/Mist World" "$cache/Mist World_Setup.exe"
@ -2341,6 +2349,7 @@ EOF
echo "Change to the game-scripts directory and run"
echo "./mist_world_account_creator.sh and follow the prompts."
echo "To login, type your email address, press tab, and type your password. Press enter to confirm."
alert
;;
"Monkey Business")
export winVer="win7"