mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-29 20:14:27 +00:00
architecture by the core / update the affected manifests / ability to change extract_dir based on arch / add nssm autoupdate
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"version": "1.7.4",
|
|
"homepage": "https://golang.org",
|
|
"license": "https://golang.org/LICENSE",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.7.4.windows-amd64.zip",
|
|
"hash": "36739164fed38a6da908813aba48d72fb22fea923de5611a85a81135b7cfceb9"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go1.7.4.windows-386.zip",
|
|
"hash": "49df7846ab04d6106cc501526c14c055788e8c67590a967fb4abef7b8b70751f"
|
|
}
|
|
},
|
|
"extract_dir": "go",
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"GOROOT": "$dir"
|
|
},
|
|
"checkver": "Build version go([\\d\\.]+)\\.",
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://storage.googleapis.com/golang/go$version.windows-amd64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://storage.googleapis.com/golang/go$version.windows-386.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"mode": "extract",
|
|
"url": "$url.sha256",
|
|
"find": "([a-z0-9]{64})"
|
|
}
|
|
}
|
|
}
|