mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-17 04:41:21 +00:00
nvs@1.6.0: Use call operator instead of powershell cli (#3351)
* nvs@1.6.0: Use call operator instead of powershell cli Closes #3350 * Quote nvs path in post install Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
parent
39cd3a6291
commit
97965463d3
@ -12,7 +12,7 @@
|
|||||||
"NVS_HOME": "$dir\\nodejs"
|
"NVS_HOME": "$dir\\nodejs"
|
||||||
},
|
},
|
||||||
"post_install": [
|
"post_install": [
|
||||||
"powershell -NoProfile -File $dir\\nvs.ps1 remote | Out-Null",
|
"& \"$dir\\nvs.ps1\" remote | Out-Null",
|
||||||
"$CONF = (Get-Content \"$persist_dir\\nodejs\\settings.json\") | ConvertFrom-Json",
|
"$CONF = (Get-Content \"$persist_dir\\nodejs\\settings.json\") | ConvertFrom-Json",
|
||||||
"Add-Member -NotePropertyName linkToSystem -NotePropertyValue $false -Force -InputObject $CONF",
|
"Add-Member -NotePropertyName linkToSystem -NotePropertyValue $false -Force -InputObject $CONF",
|
||||||
"ConvertTo-Json $CONF | Out-File -encoding \"ASCII\" \"$persist_dir\\nodejs\\settings.json\""
|
"ConvertTo-Json $CONF | Out-File -encoding \"ASCII\" \"$persist_dir\\nodejs\\settings.json\""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user