Merge pull request #20 from tailscale/chromeos

cmd/tailscale: report ChromeOS.
pull/21/head
Denton Gentry 3 years ago committed by GitHub
commit b8c3f9da9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -328,7 +328,11 @@ func (a *App) runBackend() error {
if first { if first {
state.Prefs.Hostname = a.hostname() state.Prefs.Hostname = a.hostname()
state.Prefs.OSVersion = a.osVersion() state.Prefs.OSVersion = a.osVersion()
state.Prefs.DeviceModel = a.modelName() deviceModel := a.modelName()
if a.isChromeOS() {
deviceModel = "ChromeOS: " + deviceModel
}
state.Prefs.DeviceModel = deviceModel
go b.backend.SetPrefs(state.Prefs) go b.backend.SetPrefs(state.Prefs)
} }
a.setPrefs(state.Prefs) a.setPrefs(state.Prefs)

Loading…
Cancel
Save