mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Make things testable via 'Run static method' in Rider
This commit is contained in:
parent
139072fa81
commit
bf47221594
@ -30,7 +30,7 @@ namespace osu.Desktop.Windows
|
||||
/// </summary>
|
||||
public const string SHELL_OPEN_COMMAND = @"Shell\Open\Command";
|
||||
|
||||
public static readonly string EXE_PATH = Path.ChangeExtension(typeof(WindowsAssociationManager).Assembly.Location, ".exe");
|
||||
public static readonly string EXE_PATH = Path.ChangeExtension(typeof(WindowsAssociationManager).Assembly.Location, ".exe").Replace('/', '\\');
|
||||
|
||||
/// <summary>
|
||||
/// Program ID prefix used for file associations. Should be relatively short since the full program ID has a 39 character limit,
|
||||
|
@ -31,7 +31,7 @@
|
||||
<ItemGroup Label="Resources">
|
||||
<EmbeddedResource Include="lazer.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Label="Windows Icons" Condition="$(RuntimeIdentifier.StartsWith('win'))">
|
||||
<ItemGroup Label="Windows Icons">
|
||||
<Content Include="*.ico" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user