2026-02-04 16:34:13 +00:00

62 lines
2.1 KiB
JSON

{
"version": "1.25.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",
"architecture": {
"64bit": {
"url": "https://dl.google.com/go/go1.25.7.windows-amd64.zip",
"hash": "c75e5f4ff62d085cc0017be3ad19d5536f46825fa05db06ec468941f847e3228"
},
"32bit": {
"url": "https://dl.google.com/go/go1.25.7.windows-386.zip",
"hash": "baa6b488291801642fa620026169e38bec2da2ac187cd3ae2145721cf826bbc3"
},
"arm64": {
"url": "https://dl.google.com/go/go1.25.7.windows-arm64.zip",
"hash": "807033f85931bc4a589ca8497535dcbeb1f30d506e47fa200f5f04c4a71c3d9f"
}
},
"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"
}
}
}