mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00: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