Updated golden crayon installer and update script.

This commit is contained in:
Storm Dragon 2021-09-09 20:04:07 -04:00
parent 0abdab8442
commit e0729f8821
2 changed files with 3 additions and 1 deletions

View File

@ -1642,7 +1642,7 @@ case "${game}" in
install_wine_bottle speechsdk install_wine_bottle speechsdk
download "http://tunmi13.ddns.net/projects/golden_crayon.zip" download "http://tunmi13.ddns.net/projects/golden_crayon.zip"
unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/golden_crayon.zip" unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/golden_crayon.zip"
find "${WINEPREFIX}" -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
add_launcher "c:\Program Files\\golden_crayon\gc.exe" add_launcher "c:\Program Files\\golden_crayon\gc.exe"
;; ;;
"GMA Tank Commander") "GMA Tank Commander")

View File

@ -39,10 +39,12 @@
# Works which are defined in the CPAL as a work which combines Covered Code # Works which are defined in the CPAL as a work which combines Covered Code
# or portions thereof with code not governed by the terms of the CPAL. # or portions thereof with code not governed by the terms of the CPAL.
cache="${XDG_CONFIG_HOME:-$HOME/.config}/storm-games/audiogame-manager/cache"
pushd ~/.local/wine/golden-crayon/drive_c/Program\ Files/golden_crayon/ pushd ~/.local/wine/golden-crayon/drive_c/Program\ Files/golden_crayon/
unzip golden_crayon.zip unzip golden_crayon.zip
rm -r libs/ rm -r libs/
mv golden_crayon/* . mv golden_crayon/* .
find ~/.local/wine/golden-crayon/ -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
find ~/.local/wine/golden-crayon/ -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \; find ~/.local/wine/golden-crayon/ -type f -name "nvdaControllerClient32.dll" -exec rm -fv "{}" \;
rmdir golden_crayon/ rmdir golden_crayon/
popd popd