h404bi ccc24e57b6 Init scoop-main bucket
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
2019-04-22 20:56:04 +08:00

50 lines
1.6 KiB
JSON

{
"homepage": "https://github.com/coreybutler/nvm-windows",
"version": "1.1.7",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.7/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": "md5:00acf86e40c5f038cca8c383b9d2c207",
"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",
"hash": {
"url": "$url.checksum.txt",
"find": "([a-fA-F0-9]{32})"
}
}
}