godoc/dl: change OS X to macOS, clarify WinXP requirement
Change-Id: Ib90881aef9c1bec0339dbbc38cbb320d5b731d97 Reviewed-on: https://go-review.googlesource.com/47251 Reviewed-by: Andrew Bonventre <andybons@google.com>
This commit is contained in:
parent
9be3b7cbc7
commit
1b3bb8de7d
|
@ -151,7 +151,7 @@ type Feature struct {
|
||||||
File
|
File
|
||||||
fileRE *regexp.Regexp
|
fileRE *regexp.Regexp
|
||||||
|
|
||||||
Platform string // "Microsoft Windows", "Mac OS X", "Linux"
|
Platform string // "Microsoft Windows", "Apple macOS", "Linux"
|
||||||
Requirements string // "Windows XP and above, 64-bit Intel Processor"
|
Requirements string // "Windows XP and above, 64-bit Intel Processor"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -160,12 +160,12 @@ type Feature struct {
|
||||||
var featuredFiles = []Feature{
|
var featuredFiles = []Feature{
|
||||||
{
|
{
|
||||||
Platform: "Microsoft Windows",
|
Platform: "Microsoft Windows",
|
||||||
Requirements: "Windows XP or later, Intel 64-bit processor",
|
Requirements: "Windows XP SP2 or later, Intel 64-bit processor",
|
||||||
fileRE: regexp.MustCompile(`\.windows-amd64\.msi$`),
|
fileRE: regexp.MustCompile(`\.windows-amd64\.msi$`),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Platform: "Apple OS X",
|
Platform: "Apple macOS",
|
||||||
Requirements: "OS X 10.8 or later, Intel 64-bit processor",
|
Requirements: "macOS 10.8 or later, Intel 64-bit processor",
|
||||||
fileRE: regexp.MustCompile(`\.darwin-amd64(-osx10\.8)?\.pkg$`),
|
fileRE: regexp.MustCompile(`\.darwin-amd64(-osx10\.8)?\.pkg$`),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -486,7 +486,7 @@ func pretty(s string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
var prettyStrings = map[string]string{
|
var prettyStrings = map[string]string{
|
||||||
"darwin": "OS X",
|
"darwin": "macOS",
|
||||||
"freebsd": "FreeBSD",
|
"freebsd": "FreeBSD",
|
||||||
"linux": "Linux",
|
"linux": "Linux",
|
||||||
"windows": "Windows",
|
"windows": "Windows",
|
||||||
|
|
Loading…
Reference in New Issue