https://bugs.winehq.org/show_bug.cgi?id=41378
Bug ID: 41378 Summary: wineboot silently ignores unknown WINEARCH Product: Wine Version: 1.9.19 Hardware: x86 URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=8384 74 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Hi,
I'd suggest that wineboot checks the value of WINEARCH when creating a new prefix Wine, and errors out with a nice error message if WINEARCH is unknown (neither empty, nor win32 or win64).
Currently I think there's only a test if #arch in system.reg is valid.
This check especially helps new users who confuse win32 and wine32, e.g.:
$ rm -rf .wine $ export WINEARCH=wine32 $ wineboot wine: created the configuration directory '/home/jens/.wine' [...] wine: configuration in '/home/jens/.wine' has been updated. $ grep #arch .wine/system.reg #arch=win64
Greets jre