mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2025-10-30 06:07:56 +00:00
feat(path): Isolate Scoop apps' PATH (#5840)
This commit is contained in:
@@ -100,5 +100,8 @@ if ($purge) {
|
||||
}
|
||||
|
||||
Remove-Path -Path (shimdir $global) -Global:$global
|
||||
if (get_config USE_ISOLATED_PATH) {
|
||||
Remove-Path -Path ('%' + $scoopPathEnvVar + '%') -Global:$global
|
||||
}
|
||||
|
||||
success 'Scoop has been uninstalled.'
|
||||
|
||||
Reference in New Issue
Block a user