Fixed Shadow Line launcher.

This commit is contained in:
stormdragon2976 2023-02-02 04:11:54 -05:00
parent 33800fc980
commit 119f8ecfd4

View File

@ -352,6 +352,9 @@ get_bottle() {
if [[ "$game" =~ rs-games ]]; then if [[ "$game" =~ rs-games ]]; then
install_wine "7.0" "32" install_wine "7.0" "32"
fi fi
if [[ "$game" =~ shadow-line ]]; then
install_wine "7.7" "32"
fi
} }
get_installer() { get_installer() {
@ -830,7 +833,6 @@ game_launcher() {
if [[ "$game" =~ shadow-line ]]; then if [[ "$game" =~ shadow-line ]]; then
find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \; find "${WINEPREFIX}/drive_c/" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
"${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line & "${0%/*}/speech/clipboard_translator.sh" play_sr.exe shadow-line &
export version="7.7"
fi fi
if [[ "$game" =~ sketchbook ]]; then if [[ "$game" =~ sketchbook ]]; then
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \; find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;