mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-01-11 14:15:14 +00:00
Lot of manifests are using github tags to find the latest version the
url's and regex is mostly the same.
`checkver` now can also be the string "github" if the `homepage` links
to the github repo
If `homepage` is not the repo `{"checkver": "github":
"https://github.com/user/repo"}` can be used
24 lines
1.0 KiB
JSON
24 lines
1.0 KiB
JSON
{
|
|
"homepage": "https://github.com/coreybutler/nvm-windows",
|
|
"version": "1.1.1",
|
|
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.1/nvm-noinstall.zip",
|
|
"extract_dir": "\\",
|
|
"bin": ["nvm.exe", "elevate.cmd","elevate.vbs"],
|
|
"env_add_path":"nodejs",
|
|
"env_set": {
|
|
"NVM_HOME": "$dir",
|
|
"NVM_SYMLINK": "$dir\\nodejs"
|
|
},
|
|
"hash": "ca733ab612709080cea2f46a9baabbd475014c49a95ee7dc60c0575201852bce",
|
|
"architecture": {
|
|
"64bit": {
|
|
"post_install": "\"root: $dir `r`narch: 64`r`nproxy: none `r`noriginalpath: `r`noriginalversion: `r`n\" | Out-File -encoding \"ASCII\" $dir\\settings.txt"
|
|
},
|
|
"32bit": {
|
|
"post_install": "\"root: $dir `r`narch: 32 `r`nproxy: none `r`noriginalpath: `r`noriginalversion: `r`n\" | 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"
|
|
}
|