Slight bug fix to get_steam

This commit is contained in:
Michael Taboada 2023-12-02 14:53:26 -08:00
parent b43f5a423c
commit 479a5651b6

View File

@ -440,7 +440,7 @@ get_steam() {
--inputbox "Please enter your Steam user name:" -1 -1 --stdout)" --inputbox "Please enter your Steam user name:" -1 -1 --stdout)"
# Download the game # Download the game
mkdir -p "${WINEPREFIX}/drive_c/Program Files/${game}" mkdir -p "${WINEPREFIX}/drive_c/Program Files/${game}"
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "${WINEPREFIX}/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \ steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "${WINEPREFIX}/drive_c/Program Files/$game" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \
--infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1 --infobox "Something went wrong. Please make sure you have a stable internet connection, and if the problem persists, contact audiogame-manager's developers." -1 -1
exit 1; } exit 1; }
} }