Fix osu!stable directory selection failing if no Songs folder is present at install location

This commit is contained in:
Dean Herbert 2021-06-02 15:05:06 +09:00
parent 4759ac098f
commit bf216687e1

View File

@ -57,7 +57,7 @@ namespace osu.Desktop
private string getStableInstallPath()
{
static bool checkExists(string p) => Directory.Exists(Path.Combine(p, "Songs"));
static bool checkExists(string p) => Directory.Exists(Path.Combine(p, "Songs")) || File.Exists("osu!.cfg");
string stableInstallPath;