2018-07-07 23:16:09 +02:00

49 lines
1.5 KiB
JSON

{
"homepage": "https://github.com/coreybutler/nvm-windows",
"version": "1.1.6",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.6/nvm-noinstall.zip",
"bin": [
"nvm.exe"
],
"persist": [
"nodejs",
[
"elevate.cmd",
"nodejs\\elevate.cmd"
],
[
"elevate.vbs",
"nodejs\\elevate.vbs"
],
"settings.txt"
],
"env_add_path": "nodejs\\nodejs",
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"hash": "975697d7a3ab697060fe71ffbb37dba7ff2120295ead3e75799f935ca7403135",
"architecture": {
"64bit": {
"pre_install": [
"if(!(test-path \"$dir\\settings.txt\")) {",
" write-output \"root: $persist_dir\\nodejs`r`narch: 64`r`nproxy: none\" | Out-File -encoding \"ASCII\" \"$dir\\settings.txt\"",
"}"
]
},
"32bit": {
"pre_install": [
"if(!(test-path \"$dir\\settings.txt\")) {",
" write-output \"root: $persist_dir\\nodejs`r`narch: 32`r`nproxy: none\" | Out-File -encoding \"ASCII\" \"$dir\\settings.txt\"",
"}"
]
}
},
"notes": [
"You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly"
],
"autoupdate": {
"url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip"
}
}