mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
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 @@ 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user