mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 12:58:01 +09: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:
commit
ff9b1c19e1
@ -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(Path.Combine(p, "osu!.cfg"));
|
||||||
|
|
||||||
string stableInstallPath;
|
string stableInstallPath;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user