diff options
author | RaindropsSys <contact@minteck.org> | 2023-05-24 21:59:35 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-05-24 21:59:35 +0200 |
commit | 739c3f81b220ad5720edededfab165524c8203be (patch) | |
tree | d6982e1f5e5812adcc8f6d87d21f62f49b05e201 | |
parent | 124a2519f3fe53f8a38b3c28430746525f266164 (diff) | |
download | luna-chromeos-739c3f81b220ad5720edededfab165524c8203be.tar.gz luna-chromeos-739c3f81b220ad5720edededfab165524c8203be.tar.bz2 luna-chromeos-739c3f81b220ad5720edededfab165524c8203be.zip |
-rwxr-xr-x | index.js | 6 | ||||
-rwxr-xr-x | manifest.json | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -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", |