-
Notifications
You must be signed in to change notification settings - Fork 9
/
nvs.json
27 lines (27 loc) · 1.11 KB
/
nvs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"version": "1.7.1",
"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.1/nvs-1.7.1.msi",
"hash": "0769f6e8154c30be7fcaff2cd185fe278219f93b3cb4e6f86be869761e9bd5d1",
"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"
}
}