mirror of https://github.com/ppy/osu
Fix windows taskbar context menu not popping up correctly
Closes https://github.com/ppy/osu/issues/17965. Note that this will cause a second osu! icon to appear after running the application (after any update). As per the inline comment, this will eventually be resolved via https://github.com/clowd/Clowd.Squirrel/issues/24. I do think having context menus working is more important than duplicate icons. Note that for anyone who already has a pinned taskbar icon, it will need to be manually unpinned and repinned after a future update to actually fix this issue. Thanks to @caesay for help with investigation.
This commit is contained in:
parent
2d1cc2e5ea
commit
7e9d51f33f
|
@ -123,7 +123,12 @@ private static void setupSquirrel()
|
||||||
tools.RemoveUninstallerRegistryEntry();
|
tools.RemoveUninstallerRegistryEntry();
|
||||||
}, onEveryRun: (version, tools, firstRun) =>
|
}, onEveryRun: (version, tools, firstRun) =>
|
||||||
{
|
{
|
||||||
tools.SetProcessAppUserModelId();
|
// While setting the `ProcessAppUserModelId` fixes duplicate icons/shortcuts on the taskbar, it currently
|
||||||
|
// causes the right-click context menu to function incorrectly.
|
||||||
|
//
|
||||||
|
// This may turn out to be non-required after an alternative solution is implemented.
|
||||||
|
// see https://github.com/clowd/Clowd.Squirrel/issues/24
|
||||||
|
// tools.SetProcessAppUserModelId();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue