1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:23:22 +08:00

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() 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; string stableInstallPath;