mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-02-03 18:44:47 +00:00
62 lines
2.1 KiB
JSON
62 lines
2.1 KiB
JSON
{
|
|
"version": "1.25.6",
|
|
"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.6.windows-amd64.zip",
|
|
"hash": "19b4733b727ba5c611b5656187f3ac367d278d64c3d4199a845e39c0fdac5335"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.25.6.windows-386.zip",
|
|
"hash": "873da5cec02b6657ecd5b85e562a38fb5faf1b6e9ea81b2eb0b9a9b5aea5cb35"
|
|
},
|
|
"arm64": {
|
|
"url": "https://dl.google.com/go/go1.25.6.windows-arm64.zip",
|
|
"hash": "8f2d8e6dd0849a2ec0ade1683bcfb7809e64d264a4273d8437841000a28ffb60"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|