1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 02:09:52 +08:00

Merge pull request #13298 from peppy/fix-stable-import-no-songs-folder

Fix osu!stable directory selection failing if no `Songs` folder is present at install location
This commit is contained in:
Dan Balasescu
2021-06-02 17:47:05 +09:00
committed by GitHub
Unverified
+1 -1
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(Path.Combine(p, "osu!.cfg"));
string stableInstallPath;