Skip to content

Commit

Permalink
ensure we are running in a wow64 prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Feb 5, 2024
1 parent 3b26edf commit c7d5b50
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions extra/mtgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ while [ -n "${1:-}" ]; do
shift
done

if [ ! -d "${HOME}/.wine/drive_c/windows/syswow64" ]; then
echo
echo
echo "IMPORTANT: This image now uses Windows in 64bit mode (WoW64)"
echo "You have to reset your settings: "
echo " ./run-mtgo --reset"
echo
exit 1
fi

trap "exit" INT

run() {
Expand Down

0 comments on commit c7d5b50

Please sign in to comment.