XDG_DATA_DIRS
linux : /usr/local/share:/usr/share:/usr/share/plasma:/var/lib/snapd/desktop: ...
windwos : %PROGRAMDATA%
Under normal circumstances, the XDG_DATA_DIRS variable exists in Linux, and Wine should not read the XDG_DATA_DIRS variable when running applications. The Windows variable '%PROGRAMDATA%' should be read.
Filter out the XDG_DATA_DIRS variable.The libraries in the 'appname.exe' directory that will be loaded later. The program executed successfully.
Can add a 'appname.exe' directory to search for and load libraries to achieve this?