(platform, binaryName string)
| 337 | } |
| 338 | |
| 339 | func archiveNamesForOS(platform, binaryName string) []string { |
| 340 | installer := "install.sh" |
| 341 | if platform == "windows" { |
| 342 | installer = "install.ps1" |
| 343 | } |
| 344 | return []string{ |
| 345 | binaryName, |
| 346 | "LICENSE", |
| 347 | installer, |
| 348 | "THIRD_PARTY_NOTICES.md", |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | func download(dest string) error { |
| 353 | platform := goos() |