mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Make NotifyShellUpdate()
public
to ease testing
This commit is contained in:
parent
1dc54d6f25
commit
6ded79cf07
@ -125,6 +125,8 @@ namespace osu.Desktop.Windows
|
||||
}
|
||||
}
|
||||
|
||||
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 @@ namespace osu.Desktop.Windows
|
||||
}
|
||||
}
|
||||
|
||||
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
Block a user