2025-01-17 00:35:34 +00:00

62 lines
2.1 KiB
JSON

{
"version": "1.23.5",
"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",
"architecture": {
"64bit": {
"url": "https://dl.google.com/go/go1.23.5.windows-amd64.zip",
"hash": "96d74945d7daeeb98a7978d0cf099321d7eb821b45f5c510373d545162d39c20"
},
"32bit": {
"url": "https://dl.google.com/go/go1.23.5.windows-386.zip",
"hash": "8441605a005ea74c28d8c02ca5f2708c17b4df7e91796148b9f8760caafb05c1"
},
"arm64": {
"url": "https://dl.google.com/go/go1.23.5.windows-arm64.zip",
"hash": "4f20c2d8a5a387c227e3ef48c5506b22906139d8afd8d66a78ef3de8dda1d1c3"
}
},
"extract_dir": "go",
"installer": {
"script": [
"$envgopath = \"$env:USERPROFILE\\go\"",
"if ($env:GOPATH) { $envgopath = $env:GOPATH }",
"info \"Adding '$envgopath\\bin' to PATH...\"",
"Add-Path -Path \"$envgopath\\bin\" -Global:$global -Force"
]
},
"uninstaller": {
"script": [
"$envgopath = \"$env:USERPROFILE\\go\"",
"if ($env:GOPATH) { $envgopath = $env:GOPATH }",
"info \"Removing '$envgopath\\bin' from PATH...\"",
"Remove-Path -Path \"$envgopath\\bin\" -Global:$global"
]
},
"bin": [
"bin\\go.exe",
"bin\\gofmt.exe"
],
"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"
},
"arm64": {
"url": "https://dl.google.com/go/go$version.windows-arm64.zip"
}
},
"hash": {
"url": "$url.sha256"
}
}
}