mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-22 13:35:41 +01:00
Attempt to refresh shortcuts on create
This commit is contained in:
parent
9999c52ea8
commit
6210a2668f
@ -99,6 +99,10 @@ extern "C" int saveShortcut(
|
||||
goto err;
|
||||
}
|
||||
|
||||
// Notify that a new shortcut was created using the shell api
|
||||
SHChangeNotify(SHCNE_CREATE, SHCNF_PATH, shortcutPath, NULL);
|
||||
SHChangeNotify(SHCNE_UPDATEITEM, SHCNF_PATH, shortcutPath, NULL);
|
||||
|
||||
persistFile->Release();
|
||||
shellLink->Release();
|
||||
CoUninitialize();
|
||||
|
Loading…
Reference in New Issue
Block a user