mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-16 04:11:19 +00:00
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"version": "1.8",
|
|
"homepage": "https://golang.org",
|
|
"license": "https://golang.org/LICENSE",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.8.windows-amd64.zip",
|
|
"hash": "cb27fe210f3a9d10329d48514895d2a1e3651125a7c3c758f0358a5bfc0e3060"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.8.windows-386.zip",
|
|
"hash": "b8199a4af9327807803d2892268dfbffb615f98d717cd824833a97e77f981f46"
|
|
}
|
|
},
|
|
"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})"
|
|
}
|
|
}
|
|
}
|