-
-
Notifications
You must be signed in to change notification settings - Fork 984
/
Copy pathnvm.json
53 lines (53 loc) · 1.7 KB
/
nvm.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"version": "1.2.2",
"description": "A node.js version management utility for Windows.",
"homepage": "https://github.com/coreybutler/nvm-windows",
"license": "MIT",
"notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.2.2/nvm-noinstall.zip",
"hash": "md5:d654c26a04e35a318d5939f8ceb09934",
"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\"",
"}"
]
}
},
"env_add_path": [
".",
"nodejs\\nodejs"
],
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"persist": [
"nodejs",
[
"elevate.cmd",
"nodejs\\elevate.cmd"
],
[
"elevate.vbs",
"nodejs\\elevate.vbs"
],
"settings.txt"
],
"checkver": "github",
"autoupdate": {
"url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip",
"hash": {
"url": "$url.checksum.txt",
"regex": "$md5"
}
}
}