Updated Crazy Party installer and update script.
This commit is contained in:
parent
cab6106c93
commit
772634750c
@ -1509,10 +1509,10 @@ case "${game}" in
|
||||
"Crazy Party")
|
||||
export winVer="win7"
|
||||
install_wine_bottle speechsdk
|
||||
download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip"
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip"
|
||||
add_launcher "c:\Program Files\Crazy-Party-beta76\Crazy Party.exe"
|
||||
rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll"
|
||||
download "http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip"
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/Crazy-Party-beta77.zip"
|
||||
add_launcher "c:\Program Files\Crazy-Party-beta77\Crazy Party.exe"
|
||||
rm -f "${WINEPREFIX}/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll"
|
||||
;;
|
||||
"Crazy Tennis")
|
||||
install_wine_bottle speechsdk
|
||||
|
@ -41,14 +41,14 @@
|
||||
|
||||
cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache"
|
||||
configFile="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/games.conf"
|
||||
url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta76.zip"
|
||||
(rm -v "${cache}/Crazy-Party-beta75.zip"
|
||||
wget -O "${cache}/Crazy-Party-beta76.zip" "$url" || { echo "Could not download file."; exit 1; }
|
||||
unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta76.zip"
|
||||
rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/nvdaControllerClient32.dll"
|
||||
sed -i 's/Crazy-Party-beta75/Crazy-Party-beta76/' "$configFile"
|
||||
mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/"
|
||||
cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/" 2> /dev/null
|
||||
rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta75/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1
|
||||
url="http://pragmapragma.free.fr/crazy-party/Crazy-Party-beta77.zip"
|
||||
(rm -v "${cache}/Crazy-Party-beta76.zip"
|
||||
wget -O "${cache}/Crazy-Party-beta77.zip" "$url" || { echo "Could not download file."; exit 1; }
|
||||
unzip -DDod "$HOME/.local/wine/crazy-party/drive_c/Program Files" "${cache}/Crazy-Party-beta77.zip"
|
||||
rm -fv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/nvdaControllerClient32.dll"
|
||||
sed -i 's/Crazy-Party-beta76/Crazy-Party-beta77/' "$configFile"
|
||||
mv -v "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/save.bin" "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/"
|
||||
cp -ruv "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/"* "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta77/" 2> /dev/null
|
||||
rm -rf "$HOME/.local/wine/crazy-party/drive_c/Program Files/Crazy-Party-beta76/") | dialog --progressbox "updating Crazy Party, please wait..." -1 -1
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user