mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00: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