control: retitle -1 winetricks: architecture detection mechanism (commit #9ca7a68b) broken
On 08.02.24 16:02, Alex Volkov wrote:
as the architecture detection mechanism (commit #9ca7a68b) checks $1 argument, it views the "--gui" parameter in the .desktop file as a filename, which leads to appearance of erroneous messages about "Unknown file arch" when launching from the applications menu. Not a big deal, but can be confusing to an unsuspecting user.
Thanks for the report. Turns out there are some other issues causing the symptoms you reported: The detection fails because it can't handle wrapper scripts like Debian's wine and wineserver. But this goes unnoticed if "--gui" is not specified, but still leads to the correct outcome on a common installation (wine32+wine64 in Debian). "winetricks --gui" just exposes this issue because then winetricks is more verbose at this moment, while "winetricks" also starts the GUI but the logic is after the broken architecture detection mechanism. I'll try to find a solution for this with upstream. Greets jre