Set shortcut working directory, see a17a2fe
This commit is contained in:
parent
a17a2fe6c7
commit
eece15dbb4
@ -304,6 +304,7 @@ bool Client::DoInstallation()
|
||||
if (CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLinkW, (LPVOID *)&shellLink) != S_OK)
|
||||
goto finalise;
|
||||
shellLink->SetPath(Platform::WinWiden(currentfilename).c_str());
|
||||
shellLink->SetWorkingDirectory(Platform::WinWiden(AppDataPath).c_str());
|
||||
shellLink->SetDescription(L"The Powder Toy");
|
||||
if (shellLink->QueryInterface(IID_IPersistFile, (LPVOID *)&shellLinkPersist) != S_OK)
|
||||
goto finalise;
|
||||
|
Reference in New Issue
Block a user