From 235f07c281117285336e1a038dce87aa83809f5e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 6 Apr 2021 14:47:39 -0400 Subject: [PATCH] Work around for a missing start.exe command in wine 6.5. this should fix the problem for machines that have it, and work normally for machines that do not have the problem. --- audiogame-manager.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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