mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Explicitly define constant
This commit is contained in:
@ -11,7 +11,7 @@ using osu.Framework.Platform;
|
||||
using osu.Game;
|
||||
using OpenTK.Input;
|
||||
|
||||
#if NET461
|
||||
#if NET_FRAMEWORK
|
||||
using Microsoft.Win32;
|
||||
#endif
|
||||
|
||||
@ -48,7 +48,7 @@ namespace osu.Desktop
|
||||
{
|
||||
Func<string, bool> checkExists = p => Directory.Exists(Path.Combine(p, "Songs"));
|
||||
|
||||
#if NET461
|
||||
#if NET_FRAMEWORK
|
||||
string stableInstallPath;
|
||||
|
||||
try
|
||||
@ -64,7 +64,7 @@ namespace osu.Desktop
|
||||
}
|
||||
#endif
|
||||
|
||||
#if NET461
|
||||
#if NET_FRAMEWORK
|
||||
stableInstallPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"osu!");
|
||||
#else
|
||||
var stableInstallPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"osu!");
|
||||
|
Reference in New Issue
Block a user