diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a897a38..ff5d0ce 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -498,6 +498,10 @@ echo "Loading documentation, please wait..." } winetricks() { + # Report used packages to the winetricks maintainer so he knows they are being used. + if ! [[ -e "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" ]]; then + echo "1" > "${XDG_CACHE_HOME:-$HOME/.cache}/winetricks/track_usage" + fi # Download or update agm's copy of winetricks if [[ ! -e "${cache}/winetricks" ]]; then checkWinetricksUpdate="true" @@ -1593,7 +1597,7 @@ case "${game}" in "Crime Hunter") export WINEARCH=win64 export winVer="win7" - install_wine_bottle + install_wine_bottle sapi download "http://masonasons.me/softs/CH2.0Win.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient64.dll" unzip -d "$WINEPREFIX/drive_c/Program Files/crime-hunter" "${cache}/CH2.0Win.zip" find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \;