mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"version": "1.17.2",
|
|
"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.17.2.windows-amd64.zip",
|
|
"hash": "fa6da0b829a66f5fab7e4e312fd6aa1b2d8f045c7ecee83b3d00f6fe5306759a"
|
|
},
|
|
"32bit": {
|
|
"url": "https://dl.google.com/go/go1.17.2.windows-386.zip",
|
|
"hash": "8a85257a351996fdf045fe95ed5fdd6917dd48636d562dd11dedf193005a53e0"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "$url.sha256"
|
|
}
|
|
}
|
|
}
|