mirror of
https://github.com/ppy/osu.git
synced 2025-01-22 19:53:21 +08:00
17 lines
469 B
C#
17 lines
469 B
C#
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||
|
// See the LICENCE file in the repository root for full licence text.
|
||
|
|
||
|
namespace osu.Desktop.Windows
|
||
|
{
|
||
|
public record Win32Icon
|
||
|
{
|
||
|
public readonly string Path;
|
||
|
|
||
|
internal Win32Icon(string name)
|
||
|
{
|
||
|
string dir = System.IO.Path.GetDirectoryName(typeof(Win32Icon).Assembly.Location)!;
|
||
|
Path = System.IO.Path.Join(dir, name);
|
||
|
}
|
||
|
}
|
||
|
}
|