1
0
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:
Susko3 2024-02-07 21:56:39 +01:00
parent eeba937686
commit f9d257b99e
2 changed files with 1 additions and 3 deletions

View File

@ -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);

View File

@ -174,6 +174,7 @@ namespace osu.Desktop
{
tools.CreateShortcutForThisExe();
tools.CreateUninstallerRegistryEntry();
WindowsAssociationManager.InstallAssociations(null);
}, onAppUpdate: (_, tools) =>
{
tools.CreateUninstallerRegistryEntry();