mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
parent
1569ae4d16
commit
4b7f9ce3d4
4
nvs.json
4
nvs.json
@ -15,13 +15,13 @@
|
|||||||
"NVS_HOME": "$dir\\nodejs"
|
"NVS_HOME": "$dir\\nodejs"
|
||||||
},
|
},
|
||||||
"post_install": [
|
"post_install": [
|
||||||
"powershell -NoProfile -File $dir\\nvs.ps1 remote >> null",
|
"powershell -NoProfile -File $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\""
|
||||||
],
|
],
|
||||||
"uninstaller": {
|
"uninstaller": {
|
||||||
"script": "nvs unlink >> null"
|
"script": "nvs unlink | Out-Null"
|
||||||
},
|
},
|
||||||
"checkver": "github",
|
"checkver": "github",
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user