nvs: Fix output null (#2914)

nvs: Fix output null
This commit is contained in:
Hsiao-nan Cheung 2018-12-19 12:55:06 +08:00 committed by Richard Kuhnt
parent 1569ae4d16
commit 4b7f9ce3d4

View File

@ -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": {