Conjury updated to install to a directory under Program Files instead of just plopping everything into that folder. The code for getting this installed is still new, so please let me know if there are any problems.
This commit is contained in:
parent
a605139210
commit
b43f5a423c
@ -426,10 +426,6 @@ get_steam() {
|
|||||||
--infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1
|
--infobox "This installer requires steamcmd. Please install steamcmd and try again." -1 -1
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# Get Steam user name.
|
|
||||||
steamUser="$(dialog --ok-label "Continue" \
|
|
||||||
--backtitle "Audiogame Manager" \
|
|
||||||
--inputbox "Please enter your Steam user name:" -1 -1 --stdout)"
|
|
||||||
# Create message for dialog.
|
# Create message for dialog.
|
||||||
local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2"
|
local message="Make sure ${game} is available in your Steam library and press enter to continue. The URL for ${game} is $2"
|
||||||
if echo "$2" | xclip -selection clipboard 2> /dev/null ; then
|
if echo "$2" | xclip -selection clipboard 2> /dev/null ; then
|
||||||
@ -438,8 +434,13 @@ get_steam() {
|
|||||||
dialog --ok-label "Continue" \
|
dialog --ok-label "Continue" \
|
||||||
--backtitle "Audiogame Manager" \
|
--backtitle "Audiogame Manager" \
|
||||||
--msgbox "$message" -1 -1
|
--msgbox "$message" -1 -1
|
||||||
|
# Get Steam user name.
|
||||||
|
steamUser="$(dialog --ok-label "Continue" \
|
||||||
|
--backtitle "Audiogame Manager" \
|
||||||
|
--inputbox "Please enter your Steam user name:" -1 -1 --stdout)"
|
||||||
# Download the game
|
# Download the game
|
||||||
steamcmd +@sSteamCmdForcePlatformType windows +force_install_dir "$WINEPREFIX/drive_c/Program Files/" +login "$steamUser" +app_update "$1" +quit || { dialog --backtitle "Audiogame Manager" \
|
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" \
|
||||||
--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; }
|
||||||
}
|
}
|
||||||
@ -1952,7 +1953,7 @@ download "https://erion.cf/files/ag_103.zip"
|
|||||||
install_wine_bottle
|
install_wine_bottle
|
||||||
get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/"
|
get_steam 2684520 "https://store.steampowered.com/app/2684520/Conjury/"
|
||||||
find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;
|
find "$WINEPREFIX" -type f -name 'nvdaControllerClient.dll' -exec cp -v "$cache/nvda2speechd64.dll" "{}" \;
|
||||||
add_launcher 'c:\Program Files\release\Conjury.exe'
|
add_launcher 'c:\Program Files\Conjury\release\Conjury.exe'
|
||||||
;;
|
;;
|
||||||
"Constant Battle")
|
"Constant Battle")
|
||||||
export winVer="win7"
|
export winVer="win7"
|
||||||
|
Loading…
Reference in New Issue
Block a user