diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 177d458..242015b 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -464,10 +464,12 @@ game_launcher() { fi fi export WINEPREFIX="${HOME}/.local/wine/${game%|*}" + # Work around possible wrong path for start.exe + [[ -e "${WINEPREFIX}/drive_c/windows/system32/start.exe" ]] || ln -sr "${WINEPREFIX}/drive_c/windows/command/start.exe" "${WINEPREFIX}/drive_c/windows/system32/start.exe" if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then wine64 start /realtime /d "${winePath}" "$wineExec" else - wine start /realtime /d "${winePath}" "$wineExec" + wine start /d "${winePath}" "$wineExec" /realtime fi fi exit 0