1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +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
commit ff9b1c19e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;