mirror of https://github.com/ppy/osu
Make `NotifyShellUpdate()` `public` to ease testing
This commit is contained in:
parent
1dc54d6f25
commit
6ded79cf07
|
@ -125,6 +125,8 @@ public static void UninstallAssociations()
|
|||
}
|
||||
}
|
||||
|
||||
public static void NotifyShellUpdate() => SHChangeNotify(EventId.SHCNE_ASSOCCHANGED, Flags.SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);
|
||||
|
||||
/// <summary>
|
||||
/// Installs or updates associations.
|
||||
/// </summary>
|
||||
|
@ -162,8 +164,6 @@ string getLocalisedString(LocalisableString s)
|
|||
}
|
||||
}
|
||||
|
||||
internal static void NotifyShellUpdate() => SHChangeNotify(EventId.SHCNE_ASSOCCHANGED, Flags.SHCNF_IDLIST, IntPtr.Zero, IntPtr.Zero);
|
||||
|
||||
#region Native interop
|
||||
|
||||
[DllImport("Shell32.dll")]
|
||||
|
|
Loading…
Reference in New Issue