https://github.com/golang/go/issues/49765 https://go-review.googlesource.com/c/website/+/366976/
On Thu, Nov 25, 2021 at 8:50 AM 'Carla Pfaff' via golang-nuts < golang-nuts@googlegroups.com> wrote: > On Wednesday, 24 November 2021 at 22:53:33 UTC+1 ben...@gmail.com wrote: > >> 2) The download link is for the Windows binary, and I'm running Linux. >> Would be nice if it could try to auto-detect based on my User-Agent, which >> includes the words "X11", "Ubuntu", and "Linux". >> > > The website already does this. At least on macOS I get the Mac version > download link. Maybe there's a problem with the Linux User-Agent detection > ... yes, the 'setDownloadLinks' function currently only distinguishes > between 'isMac' or not: > > https://github.com/golang/website/blame/e0eb9bf3b15f4bee74782e245d3db37177b46822/_content/js/site.js#L131 > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/fa479175-7c15-45f0-92e6-c6ec73280474n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/fa479175-7c15-45f0-92e6-c6ec73280474n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAEkBMfF-bYJPn9JDthY%3DR2E36U1_GL4dV6Xw2t0_Xiz59zJOTQ%40mail.gmail.com.