Ross Smith II 822c4bee45 Add quotes around $dir/$persist_dir vars where needed (#1948)
* Add quotes around $dir var where needed

* Add quotes around $dir vars where needed
2018-01-26 17:43:48 +01:00

43 lines
1.4 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"
}
}