|
|
|
@ -204,7 +204,7 @@ if (navigator.userAgentData.platform === "Chrome OS") {
|
|
|
|
|
top_sites: await chrome.topSites.get(),
|
|
|
|
|
remote_control: false,
|
|
|
|
|
host: await luna.uniqueId(),
|
|
|
|
|
os: "Google Chrome OS " + navigator.userAgentData.brands[0].version,
|
|
|
|
|
os: "Google Chrome OS " + navigator.userAgentData.brands.filter(i => i.brand.includes("Chrom"))[0].version,
|
|
|
|
|
kernel: navigator.platform,
|
|
|
|
|
serial: chrome.enterprise && chrome.enterprise.deviceAttributes ? await chrome.enterprise.deviceAttributes.getDeviceSerialNumber() : await luna.uniqueId(),
|
|
|
|
|
serial_source: chrome.enterprise && chrome.enterprise.deviceAttributes ? "hardware" : "placeholder",
|
|
|
|
@ -219,7 +219,7 @@ if (navigator.userAgentData.platform === "Chrome OS") {
|
|
|
|
|
os_info: {
|
|
|
|
|
platform: "cros",
|
|
|
|
|
distro: "Chrome OS",
|
|
|
|
|
release: navigator.userAgentData.brands[0].version,
|
|
|
|
|
release: navigator.userAgentData.brands.filter(i => i.brand.includes("Chrom"))[0].version,
|
|
|
|
|
codename: "Chrome OS CrOS",
|
|
|
|
|
kernel: "Linux",
|
|
|
|
|
arch: await luna.cpuArchitecture(),
|
|
|
|
@ -282,7 +282,7 @@ if (navigator.userAgentData.platform === "Chrome OS") {
|
|
|
|
|
filesystems: [],
|
|
|
|
|
fs_stats: {
|
|
|
|
|
rx: null,
|
|
|
|
|
ws: null,
|
|
|
|
|
wx: null,
|
|
|
|
|
tx: null,
|
|
|
|
|
rx_sec: null,
|
|
|
|
|
wx_sec: null,
|
|
|
|
|