Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nekupaw authored Sep 14, 2024
2 parents 11a8fff + 18ab4ee commit 6921ef4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions osu.Desktop/Windows/Icons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ public static class Icons
private static readonly string icon_directory = Path.GetDirectoryName(typeof(Icons).Assembly.Location)!;

public static string Lazer => Path.Join(icon_directory, "lazer.ico");

public static string Beatmap => Path.Join(icon_directory, "beatmap.ico");
}
}
8 changes: 4 additions & 4 deletions osu.Desktop/Windows/WindowsAssociationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public static class WindowsAssociationManager

private static readonly FileAssociation[] file_associations =
{
new FileAssociation(@".osz", WindowsAssociationManagerStrings.OsuBeatmap, Icons.Lazer),
new FileAssociation(@".olz", WindowsAssociationManagerStrings.OsuBeatmap, Icons.Lazer),
new FileAssociation(@".osr", WindowsAssociationManagerStrings.OsuReplay, Icons.Lazer),
new FileAssociation(@".osk", WindowsAssociationManagerStrings.OsuSkin, Icons.Lazer),
new FileAssociation(@".osz", WindowsAssociationManagerStrings.OsuBeatmap, Icons.Beatmap),
new FileAssociation(@".olz", WindowsAssociationManagerStrings.OsuBeatmap, Icons.Beatmap),
new FileAssociation(@".osr", WindowsAssociationManagerStrings.OsuReplay, Icons.Beatmap),
new FileAssociation(@".osk", WindowsAssociationManagerStrings.OsuSkin, Icons.Beatmap),
};

private static readonly UriAssociation[] uri_associations =
Expand Down
Binary file added osu.Desktop/beatmap.ico
Binary file not shown.

0 comments on commit 6921ef4

Please sign in to comment.