Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: Uninstall Experience #2114

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/NexusMods.App/Commandline/CleanupVerbs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using NexusMods.CrossPlatform;
using NexusMods.DataModel;
using NexusMods.MnemonicDB.Abstractions;
using NexusMods.Networking.Downloaders;
using NexusMods.Paths;
using NexusMods.ProxyConsole.Abstractions;
using NexusMods.ProxyConsole.Abstractions.VerbDefinitions;
Expand Down Expand Up @@ -50,7 +51,7 @@ private static async Task<int> UninstallApp(
try
{
var synchronizer = installation.GetGame().Synchronizer;
await synchronizer.UnManage(installation);
await synchronizer.UnManage(installation, false);
await renderer.Text($"Reverted {installation.Game.Name} to its original state");
}
catch (Exception ex)
Expand Down Expand Up @@ -91,7 +92,10 @@ are other than {##}. Resolving these on our end would be hard.
JsonStorageBackend.GetConfigsFolderPath(fileSystem),

// The whole base DataModel folder.
DataModelSettings.GetStandardDataModelFolder(fileSystem)
DataModelSettings.GetStandardDataModelFolder(fileSystem),

// The whole base Download folder.
DownloadSettings.GetStandardDownloadsFolder(fileSystem),
}.Concat(dataModelSettings.ArchiveLocations.Select(path => path.ToPath(fileSystem)));

if (fileSystem.OS.IsUnix())
Expand Down
Loading