問題如下:
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
解法1:
$ vim ~/.wine_amd64/system.reg
[Software\\Microsoft\\Windows\\CurrentVersion\\RunServices] 1677720731
#"winemenubuilder"="C:\\windows\\system32\\winemenubuilder.exe -a -r"
解法2:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPreInst, LPSTR lpCmd, int nShow)
{
ExitProcess(0);
return 0;
}
P.S. 使用Dummy程式取代