diff --git a/osu.Game/Localisation/MaintenanceSettingsStrings.cs b/osu.Game/Localisation/MaintenanceSettingsStrings.cs index 6d5e0d5e0e..daf27c6ea2 100644 --- a/osu.Game/Localisation/MaintenanceSettingsStrings.cs +++ b/osu.Game/Localisation/MaintenanceSettingsStrings.cs @@ -40,14 +40,9 @@ namespace osu.Game.Localisation public static LocalisableString SelectNewLocation => new TranslatableString(getKey(@"select_new_location"), @"Please select a new location"); /// - /// "The target directory already seems to have an osu! install. Use that data instead?" + /// "The target directory already seems to have an osu! install. Use that data instead? osu! will restart." /// - public static LocalisableString TargetDirectoryAlreadyInstalledOsu => new TranslatableString(getKey(@"target_directory_already_installed_osu"), @"The target directory already seems to have an osu! install. Use that data instead?"); - - /// - /// "To complete this operation, osu! will close. Please open it again to use the new data location." - /// - public static LocalisableString RestartAndReOpenRequiredForCompletion => new TranslatableString(getKey(@"restart_and_re_open_required_for_completion"), @"To complete this operation, osu! will close. Please open it again to use the new data location."); + public static LocalisableString TargetDirectoryAlreadyInstalledOsu => new TranslatableString(getKey(@"target_directory_already_installed_osu"), @"The target directory already seems to have an osu! install. Use that data instead? osu! will restart."); /// /// "Delete ALL beatmaps" diff --git a/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs b/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs index 309e2a1401..3a3156f1eb 100644 --- a/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs +++ b/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs @@ -54,11 +54,9 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance { dialogOverlay.Push(new ConfirmDialog(MaintenanceSettingsStrings.TargetDirectoryAlreadyInstalledOsu, () => { - dialogOverlay.Push(new ConfirmDialog(MaintenanceSettingsStrings.RestartAndReOpenRequiredForCompletion, () => - { - (storage as OsuStorage)?.ChangeDataPath(target.FullName); - game.Exit(); - }, () => { })); + (storage as OsuStorage)?.ChangeDataPath(target.FullName); + game.RestartAppWhenExited(); + game.Exit(); }, () => { }));