2025-08-13 00:41:42 +00:00

62 lines
2.1 KiB
JSON

{
"version": "1.25.0",
"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.0.windows-amd64.zip",
"hash": "89efb4f9b30812eee083cc1770fdd2913c14d301064f6454851428f9707d190b"
},
"32bit": {
"url": "https://dl.google.com/go/go1.25.0.windows-386.zip",
"hash": "df9f39db82a803af0db639e3613a36681ab7a42866b1384b3f3a1045663961a7"
},
"arm64": {
"url": "https://dl.google.com/go/go1.25.0.windows-arm64.zip",
"hash": "27bab004c72b3d7bd05a69b6ec0fc54a309b4b78cc569dd963d8b3ec28bfdb8c"
}
},
"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"
}
}
}