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.
This commit is contained in:
parent
f5851a8b43
commit
235f07c281
@ -464,10 +464,12 @@ game_launcher() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
export WINEPREFIX="${HOME}/.local/wine/${game%|*}"
|
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
|
if [[ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]]; then
|
||||||
wine64 start /realtime /d "${winePath}" "$wineExec"
|
wine64 start /realtime /d "${winePath}" "$wineExec"
|
||||||
else
|
else
|
||||||
wine start /realtime /d "${winePath}" "$wineExec"
|
wine start /d "${winePath}" "$wineExec" /realtime
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user