mirror of https://github.com/ppy/osu
Fix osu!stable directory selection failing if no `Songs` folder is present at install location
This commit is contained in:
parent
4759ac098f
commit
bf216687e1
|
@ -57,7 +57,7 @@ public override StableStorage GetStorageForStableInstall()
|
|||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue