https://bugs.winehq.org/show_bug.cgi?id=55070
Bug ID: 55070 Summary: winemenubuilder adds incorrect prefix on 32bit only Wine Product: Wine Version: 8.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dofficialgman@gmail.com Distribution: ---
On 32bit (x86 only) wine, the Exec= line automatically created in an application's .desktop file is incorrect and can not be launched.
eg: /home/gman/.local/share/applications/wine/Programs/7-Zip/7-Zip\ File\ Manager.desktop ``` [Desktop Entry] Name=7-Zip File Manager Exec=env WINEPREFIX="/home/gman/.wine/dosdevices/f:/home/gman/.wine" wine C:\\users\\gman\\AppData\\Roaming\\Microsoft\\Windows\\Start\ Menu\\Programs\\7-Zip\\7-Zip\ File\ Manager.lnk Type=Application StartupNotify=true Icon=EA23_7zFM.0 StartupWMClass=7zfm.exe ```
64bit (x64 with WOW64) wine does not have this issue and the generated .desktop file will be correct.
eg: /home/gman/.local/share/applications/wine/Programs/7-Zip/7-Zip\ File\ Manager.desktop ``` [Desktop Entry] Name=7-Zip File Manager Exec=env WINEPREFIX="/home/gman/.wine" wine C:\\users\\gman\\AppData\\Roaming\\Microsoft\\Windows\\Start\ Menu\\Programs\\7-Zip\\7-Zip\ File\ Manager.lnk Type=Application StartupNotify=true Icon=EA23_7zFM.0 StartupWMClass=7zfm.exe ```
Both are with fresh wine installs with fresh/clean prefixes. Confirmed on multiple devices.