mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:52:55 +08:00
Install associations as part of initial squirrel install
This commit is contained in:
parent
eeba937686
commit
f9d257b99e
@ -137,9 +137,6 @@ namespace osu.Desktop
|
||||
if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows)
|
||||
LoadComponentAsync(new GameplayWinKeyBlocker(), Add);
|
||||
|
||||
if (OperatingSystem.IsWindows() && IsDeployedBuild)
|
||||
LoadComponentAsync(new WindowsAssociationManager(), Add);
|
||||
|
||||
LoadComponentAsync(new ElevatedPrivilegesChecker(), Add);
|
||||
|
||||
osuSchemeLinkIPCChannel = new OsuSchemeLinkIPCChannel(Host, this);
|
||||
|
@ -174,6 +174,7 @@ namespace osu.Desktop
|
||||
{
|
||||
tools.CreateShortcutForThisExe();
|
||||
tools.CreateUninstallerRegistryEntry();
|
||||
WindowsAssociationManager.InstallAssociations(null);
|
||||
}, onAppUpdate: (_, tools) =>
|
||||
{
|
||||
tools.CreateUninstallerRegistryEntry();
|
||||
|
Loading…
Reference in New Issue
Block a user