mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-28 19:44:24 +00:00
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"version": "1.10.2",
|
|
"homepage": "https://golang.org",
|
|
"license": "BSD-3-Clause",
|
|
"extract_dir": "go",
|
|
"env_set": {
|
|
"GOROOT": "$dir"
|
|
},
|
|
"bin": [
|
|
"bin/go.exe",
|
|
"bin/gofmt.exe",
|
|
"bin/godoc.exe"
|
|
],
|
|
"installer": {
|
|
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"uninstaller": {
|
|
"script": "remove_from_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.10.2.windows-amd64.zip",
|
|
"hash": "0fb4a893796e8151c0b8d0a3da4ed8cbb22bf6d98a3c29c915be4d7083f146ee"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.10.2.windows-386.zip",
|
|
"hash": "0bb12875044674d632d1f1b2f53cf33510a6df914178fe672f3f70f6f6cdf80d"
|
|
}
|
|
},
|
|
"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": {
|
|
"url": "$url.sha256"
|
|
}
|
|
},
|
|
"notes": "
|
|
Your GOROOT has been set to: $dir
|
|
You can run 'go env GOROOT' to view this at any time.
|
|
\"$env:USERPROFILE\\go\\bin)\" has been added to your PATH.
|
|
"
|
|
}
|