https://bugs.winehq.org/show_bug.cgi?id=55070
--- Comment #9 from dofficialgman@gmail.com --- Created attachment 74682 --> https://bugs.winehq.org/attachment.cgi?id=74682 partial revert of the commit f1d4dd7cc83d971c6e69c3f2bdffe85dbcd81c0a which changes WINEPREFIX to WINECONFIGDIR
This partial revert patch fixes the issue. The root source of the bug is likely `WINECONFIGDIR` being set incorrectly somewhere else in source or a broken `wine_get_unix_file_name`.
With this patch applied to Wine-6.19, the output becomes ``` [Desktop Entry] Name=7-Zip File Manager Exec=wine C:\\ProgramData\\Microsoft\\Windows\\Start\ Menu\\Programs\\7-Zip\\7-Zip\ File\ Manager.lnk Type=Application StartupNotify=true Icon=EA23_7zFM.0 StartupWMClass=7zfm.exe ```