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: Additional Set of Uninstaller Improvements #2121

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

Sewer56
Copy link
Member

@Sewer56 Sewer56 commented Oct 3, 2024

Fix: Remove Local Application Data

Very tiny patch.

Up until now, the uninstaller has been focusing on all locations defined within the App's config files; this is because it has historically been possible to re-route these to different locations on disk via various config knobs.

However, that leaves the base NMA folder stranded on the FileSystem, which means that users will get an unwanted prompt on re-install:

image

This PR adds the 'Local Application Data' directory as one of the targets to wipe, ensuring no folders are left behind.

Fix: Fix Windows Uninstall when App Location has Spaces

Uninstall on Windows now works if the path to the Application folder has spaces in it.
The path to the PowerShell script wasn't escaped properly, PS has rules for nested escapes, and that wasn't being handled properly.

Fix: Remove Waiting Workaround from Old DataModel Bug

See deleted lines. We used to have a concurrency bug with IRepository, but that's been fixed since.

…ata folder (NexusMods.App), in addition to used directories from config
@Sewer56 Sewer56 added the Bug Something isn't working label Oct 3, 2024
@Sewer56 Sewer56 requested a review from a team October 3, 2024 08:15
@Sewer56 Sewer56 self-assigned this Oct 3, 2024
@Sewer56 Sewer56 changed the title Improved: Uninstalling now deletes whole standard local application data folder. Improved: Additional Set of Uninstaller Improvements Oct 3, 2024
@Sewer56 Sewer56 merged commit 6abc7ca into main Oct 3, 2024
11 checks passed
@erri120 erri120 deleted the wipe-completely-on-uninstall branch October 8, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants