4 export WINEDEBUG="-all"
6 # We don't want crash dialogs
7 cat >crashdialog.reg <<EOF
8 Windows Registry Editor Version 5.00
10 [HKEY_CURRENT_USER\Software\Wine\WineDbg]
11 "ShowCrashDialog"=dword:00000000
15 # Set the wine prefix and disable the crash dialog
16 wine regedit crashdialog.reg
19 # An immediate wine command may fail with: "${WINEPREFIX}: Not a
20 # valid wine prefix." and that is just spit because of checking
21 # the existance of the system.reg file, which fails. Just giving
22 # it a bit more of time for it to be created solves the problem
24 while ! test -f "${WINEPREFIX}/system.reg"; do sleep 1; done