mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-25 01:51:29 +00:00
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"version": "1.10",
|
|
"homepage": "https://golang.org",
|
|
"license": "https://golang.org/LICENSE",
|
|
"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.windows-amd64.zip",
|
|
"hash": "210b223031c254a6eb8fa138c3782b23af710a9959d64b551fa81edd762ea167"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.10.windows-386.zip",
|
|
"hash": "83edd9e52ce6d1c8f911e7bbf6f0a73952c613b4bf66438ceb1507f892240f11"
|
|
}
|
|
},
|
|
"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.
|
|
"
|
|
}
|