Jack Tzu-Chieh Huang fbc93c568d modify the bucket manifest to allow persist (#1547)
* modify the bucket manifist to allow persist

* update nvm.json to properly persist the nvm symlink
2017-06-09 01:30:23 +02:00

38 lines
1.4 KiB
JSON

{
"homepage": "https://github.com/coreybutler/nvm-windows",
"version": "1.1.5",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.5/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": "cbe1b6d71cc420f2d4428e4b7d41b8eb409232706385b2e97f2b749228e370bc",
"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",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip"
}
}