mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Merge pull request #11603 from Game4all/handle-stable-imports-custom-songs-folder
Handle beatmap import from a stable installation with a custom Songs directory
This commit is contained in:
@ -18,6 +18,7 @@ using osu.Framework.Screens;
|
||||
using osu.Game.Screens.Menu;
|
||||
using osu.Game.Updater;
|
||||
using osu.Desktop.Windows;
|
||||
using osu.Game.IO;
|
||||
|
||||
namespace osu.Desktop
|
||||
{
|
||||
@ -32,7 +33,7 @@ namespace osu.Desktop
|
||||
noVersionOverlay = args?.Any(a => a == "--no-version-overlay") ?? false;
|
||||
}
|
||||
|
||||
public override Storage GetStorageForStableInstall()
|
||||
public override StableStorage GetStorageForStableInstall()
|
||||
{
|
||||
try
|
||||
{
|
||||
@ -40,7 +41,7 @@ namespace osu.Desktop
|
||||
{
|
||||
string stablePath = getStableInstallPath();
|
||||
if (!string.IsNullOrEmpty(stablePath))
|
||||
return new DesktopStorage(stablePath, desktopHost);
|
||||
return new StableStorage(stablePath, desktopHost);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
|
Reference in New Issue
Block a user