-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
nvm-windows.json
43 lines (43 loc) 路 1.67 KB
/
nvm-windows.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
{
"homepage": "https://github.com/chawyehsu/nvm-windows",
"description": "A nvm-windows fork with NTFS junction patch which was rejected by upstream, for restricted user.",
"license": "MIT",
"version": "1.1.12",
"url": "https://github.com/chawyehsu/nvm-windows/releases/download/1.1.12/nvm-noinstall.zip",
"hash": "27d87344e3cd9d8a31f911b612f3c2db266ae916007a4babff76fec71c9ce258",
"bin": "nvm.exe",
"persist": [
"nodejs",
"settings.txt"
],
"env_add_path": "nodejs\\nodejs",
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"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\"",
"}"
]
}
},
"checkver": "github",
"autoupdate": {
"url": "https://github.com/chawyehsu/nvm-windows/releases/download/$version/nvm-noinstall.zip",
"hash": {
"url": "https://github.com/chawyehsu/nvm-windows/releases/tag/$version",
"regex": "(?m)no-install.zip*?$sha256"
}
},
"notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly"
}