mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Move uninstaller registry operation to onInitialInstall
This commit is contained in:
parent
3aa2d4548a
commit
b286122413
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user