mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"version": "1.17.7",
|
|
"description": "An open source programming language that makes it easy to build simple, reliable, and efficient software.",
|
|
"homepage": "https://golang.org",
|
|
"license": "BSD-3-Clause",
|
|
"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."
|
|
],
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dl.google.com/go/go1.17.7.windows-amd64.zip",
|
|
"hash": "1b648165d62a2f5399f3c42c7e59de9f4aa457212c4ea763e1b650546fac72e2"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.17.7.windows-386.zip",
|
|
"hash": "6be3a03549ee97de250a0dcc6658a5154e907540651a3fdec709e7b4df76038b"
|
|
}
|
|
},
|
|
"extract_dir": "go",
|
|
"installer": {
|
|
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"uninstaller": {
|
|
"script": "remove_from_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"bin": [
|
|
"bin\\go.exe",
|
|
"bin\\gofmt.exe"
|
|
],
|
|
"env_set": {
|
|
"GOROOT": "$dir"
|
|
},
|
|
"checkver": {
|
|
"url": "https://golang.org/dl/",
|
|
"regex": "go([\\d.]+)\\.windows-"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dl.google.com/go/go$version.windows-amd64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go$version.windows-386.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|