Enable winetricks reporting by default so that packages that make audiogames work get reported to the winetricks maintainer.
This commit is contained in:
parent
70eed45603
commit
59c73ee616
@ -498,6 +498,10 @@ echo "Loading documentation, please wait..."
|
|||||||
}
|
}
|
||||||
|
|
||||||
winetricks() {
|
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
|
# Download or update agm's copy of winetricks
|
||||||
if [[ ! -e "${cache}/winetricks" ]]; then
|
if [[ ! -e "${cache}/winetricks" ]]; then
|
||||||
checkWinetricksUpdate="true"
|
checkWinetricksUpdate="true"
|
||||||
@ -1593,7 +1597,7 @@ case "${game}" in
|
|||||||
"Crime Hunter")
|
"Crime Hunter")
|
||||||
export WINEARCH=win64
|
export WINEARCH=win64
|
||||||
export winVer="win7"
|
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"
|
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"
|
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" "{}" \;
|
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvdaControllerClient64.dll" "{}" \;
|
||||||
|
Loading…
Reference in New Issue
Block a user