mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
60 lines
1.9 KiB
JSON
60 lines
1.9 KiB
JSON
{
|
|
"version": "1.19.3",
|
|
"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.19.3.windows-amd64.zip",
|
|
"hash": "b51549a9f21ee053f8a3d8e38e45b1b8b282d976f3b60f1f89b37ac54e272d31"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.19.3.windows-386.zip",
|
|
"hash": "cbf9ced1c6d4d874464b30dbbbb237fb45f932b68994702adabda4ef56ac63a0"
|
|
},
|
|
"arm64": {
|
|
"url": "https://dl.google.com/go/go1.19.3.windows-arm64.zip",
|
|
"hash": "af37fe4acad6cccdb5222d26d19c1918086b6c8aaadf72a5948eca9ec7ddef99"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"arm64": {
|
|
"url": "https://dl.google.com/go/go$version.windows-arm64.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|