summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.js6
-rwxr-xr-xmanifest.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/index.js b/index.js
index dbfeb22..b3a0e89 100755
--- a/index.js
+++ b/index.js
@@ -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,
diff --git a/manifest.json b/manifest.json
index 0270901..145b806 100755
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Luna for Chrome OS",
- "version": "1.3.0.22",
+ "version": "1.5.0.24",
"description": "A remote administration and data collection tool for system administrators, integrating with Cold Haze",
"manifest_version": 3,
"author": "Equestria.dev",