mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"version": "1.12.7",
|
|
"homepage": "https://golang.org",
|
|
"description": "An open source programming language that makes it easy to build simple, reliable, and efficient software.",
|
|
"license": "BSD-3-Clause",
|
|
"extract_dir": "go",
|
|
"env_set": {
|
|
"GOROOT": "$dir"
|
|
},
|
|
"bin": [
|
|
"bin/go.exe",
|
|
"bin/gofmt.exe",
|
|
"bin/godoc.exe"
|
|
],
|
|
"installer": {
|
|
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"uninstaller": {
|
|
"script": "remove_from_path \"$env:USERPROFILE\\go\\bin\" $global"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://dl.google.com/go/go1.12.7.windows-amd64.zip",
|
|
"hash": "502712c0e29edc6b9cda6fa5e4b6ff9b36e27d225373baead8708c9634aa8e50"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.12.7.windows-386.zip",
|
|
"hash": "bf55b97f5fd9f2fd9e4f0b182e296ee531262d1f8458169f8b42d989c2370e5c"
|
|
}
|
|
},
|
|
"checkver": {
|
|
"url": "https://golang.org/dl/",
|
|
"regex": "go([\\d.]+)\\."
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
},
|
|
"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."
|
|
]
|
|
}
|