fnm@1.38.1: Remove leftovers when uninstall --purge, set FNM_DIR, persist some data#6070
Conversation
|
All changes look good. Wait for review from human collaborators. fnm
|
uninstall --purgeuninstall --purge
uninstall --purgeuninstall --purge
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
|
I guess we should set |
|
I (think I) added your suggestions @Lutra-Fs.
What you think? 😊 |
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
|
I'll spin up a VM to install the updated manifest, try a couple of small projects, and then uninstall. If everything looks good, I'll go ahead and merge. One question: since the manifest uses |
|
Can you kindly add a note to tell the user that the new config location will be under our directory? See #6462 (comment) for an example. |
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
uninstall --purgeuninstall --purge, set FNM_DIR, persist some data
|
One potential problem is that I'll add info on that too. |
|
Worked around it by setting |
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
|
/verify |
|
All changes look good. Wait for review from human collaborators. fnm
|
|
NVM, just noticed that you have fixed it. Reviewing the wrong version of the code 😢 |
Changes
%LOCALAPPDATA%\fnm_multishells.%APPDATA%\fnm.FNM_.FNM_DIRto Scoop$dir.$dir\aliasesand$dir\node-versionsbecause ofFNM_DIR.More about purge of directories
fnm leaves behind two directories when uninstalled:
%LOCALAPPDATA%\fnm_multishells%APPDATA%\fnmThis PR adds the ability to have them nuked when
uninstall --purge.Note: For some reason
[System.IO.Directory]::Delete()failed to delete one of the directories with an error about access denied, butRemove-Item -Recurseworked. So I'm usingRemove-Item -Recurse.Contributing guidelines