Skip to content

Commit

Permalink
Merge pull request #2114 from Nexus-Mods/fix-uninstall
Browse files Browse the repository at this point in the history
Improved: Uninstall Experience
  • Loading branch information
Sewer56 authored Oct 2, 2024
2 parents 5d4479f + 7cd30dc commit 74ae525
Showing 1 changed file with 6 additions and 2 deletions.
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

0 comments on commit 74ae525

Please sign in to comment.