summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-05-24 21:59:35 +0200
committerRaindropsSys <contact@minteck.org>2023-05-24 21:59:35 +0200
commit739c3f81b220ad5720edededfab165524c8203be (patch)
treed6982e1f5e5812adcc8f6d87d21f62f49b05e201
parent124a2519f3fe53f8a38b3c28430746525f266164 (diff)
downloadluna-chromeos-739c3f81b220ad5720edededfab165524c8203be.tar.gz
luna-chromeos-739c3f81b220ad5720edededfab165524c8203be.tar.bz2
luna-chromeos-739c3f81b220ad5720edededfab165524c8203be.zip
Updated 2 files (automated)HEADmane
-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",