ref!: replace pathman with PowerShell [Environment]::SetEnvironmentVariable

This commit is contained in:
AJ ONeal
2023-05-09 00:04:59 +00:00
parent ba4571ec35
commit efb67109fb
12 changed files with 84 additions and 74 deletions

View File

@@ -41,4 +41,4 @@ Remove-Item -Path "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME" -Recurse -ErrorAct
Copy-Item -Path "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME-v$Env:WEBI_VERSION" -Destination "$Env:USERPROFILE\.local\opt\$Env:PKG_NAME" -Recurse
# Add to path
& "$Env:USERPROFILE\.local\bin\pathman.exe" add ~/.local/opt/node
webi_path_add ~/.local/opt/node