2022-12-07 20:29:58 +00:00

28 lines
1.1 KiB
JSON

{
"version": "1.7.0",
"description": "Node Version Switcher - A cross-platform tool for switching between versions and forks of Node.js",
"homepage": "https://github.com/jasongin/nvs",
"license": "MIT",
"url": "https://github.com/jasongin/nvs/releases/download/v1.7.0/nvs-1.7.0.msi",
"hash": "ca10c17653458a7301cb5bffd0b84420dc22fe6aae4a15728996ae13038cb836",
"extract_dir": "nvs",
"env_add_path": ".",
"persist": "nodejs",
"env_set": {
"NVS_HOME": "$dir\\nodejs"
},
"post_install": [
"& \"$dir\\nvs.ps1\" remote | Out-Null",
"$CONF = (Get-Content \"$persist_dir\\nodejs\\settings.json\") | ConvertFrom-Json",
"Add-Member -NotePropertyName linkToSystem -NotePropertyValue $false -Force -InputObject $CONF",
"ConvertTo-Json $CONF | Out-File -encoding \"ASCII\" \"$persist_dir\\nodejs\\settings.json\""
],
"uninstaller": {
"script": "nvs unlink | Out-Null"
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/jasongin/nvs/releases/download/v$version/nvs-$version.msi"
}
}