mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move uninstaller registry operation to onInitialInstall
This commit is contained in:
@ -116,6 +116,7 @@ namespace osu.Desktop
|
||||
SquirrelAwareApp.HandleEvents(onInitialInstall: (version, tools) =>
|
||||
{
|
||||
tools.CreateShortcutForThisExe();
|
||||
tools.CreateUninstallerRegistryEntry();
|
||||
}, onAppUninstall: (version, tools) =>
|
||||
{
|
||||
tools.RemoveShortcutForThisExe();
|
||||
@ -123,9 +124,6 @@ namespace osu.Desktop
|
||||
}, onEveryRun: (version, tools, firstRun) =>
|
||||
{
|
||||
tools.SetProcessAppUserModelId();
|
||||
|
||||
if (firstRun)
|
||||
tools.CreateUninstallerRegistryEntry();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user