mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 15:21:18 +00:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"version": "1.14.2",
|
|
"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"
|
|
],
|
|
"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.14.2.windows-amd64.zip",
|
|
"hash": "1b5a60b3bbaa81106d5ee03499b5734ec093c6a255abf9a6a067f0f497a57916"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.14.2.windows-386.zip",
|
|
"hash": "76beccad98b6d3f8de935e5c9dbd69934cca1baa45b880965cdcf2779df56524"
|
|
}
|
|
},
|
|
"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."
|
|
]
|
|
}
|