mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-27 02:51:19 +00:00
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"version": "1.7.5",
|
|
"homepage": "https://golang.org",
|
|
"license": "https://golang.org/LICENSE",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.7.5.windows-amd64.zip",
|
|
"hash": "01eb518cb5a12edd6cf7380ec17ebedee755e3ce7e5362febeebb9e70e45fcaa"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.7.5.windows-386.zip",
|
|
"hash": "de367304d1d654ff23d74a2644a457b7740c2da46bc3abedc46f1317f97316ad"
|
|
}
|
|
},
|
|
"extract_dir": "go",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"GOROOT": "$dir"
|
|
},
|
|
"checkver": "Build version go([\\d\\.]+)\\.",
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"mode": "extract",
|
|
"url": "$url.sha256",
|
|
"find": "([a-z0-9]{64})"
|
|
}
|
|
}
|
|
}
|