Don't remove nvda dlls from the entire wineprefix, since it is a shared prefix

This commit is contained in:
Michael Taboada 2022-10-04 15:04:59 -07:00
parent 59fc787007
commit 52fa738f86

View File

@ -1608,7 +1608,7 @@ case "${game}" in
install_wine_bottle install_wine_bottle
download "https://www.nyanchangames.com/softs/nn_setup.exe" download "https://www.nyanchangames.com/softs/nn_setup.exe"
7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk" "${cache}/nn_setup.exe" 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk" "${cache}/nn_setup.exe"
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; find "${WINEPREFIX}/drive_c/nyanchangame/bk/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
add_launcher "c:\nyanchangame\bk\play.exe" add_launcher "c:\nyanchangame\bk\play.exe"
;; ;;
"Bokurano Daibouken 2") "Bokurano Daibouken 2")
@ -1617,7 +1617,7 @@ case "${game}" in
install_wine_bottle install_wine_bottle
download "https://www.nyanchangames.com/softs/nn2_setup.exe" download "https://www.nyanchangames.com/softs/nn2_setup.exe"
7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk2" "${cache}/nn2_setup.exe" 7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk2" "${cache}/nn2_setup.exe"
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; find "${WINEPREFIX}/drive_c/nyanchangame/bk2/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
add_launcher "c:\nyanchangame\bk2\play.exe" add_launcher "c:\nyanchangame\bk2\play.exe"
;; ;;
"Bokurano Daibouken 3") "Bokurano Daibouken 3")