Explicitly define constant

This commit is contained in:
smoogipoo
2017-11-20 19:44:06 +09:00
parent 7cfca866e2
commit e98d9e8a8c
4 changed files with 13 additions and 10 deletions

View File

@ -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!");