aboutsummaryrefslogtreecommitdiff
path: root/views/script/core_chart.js
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-07 17:01:51 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-07 17:01:51 +0200
commitadabd5f0b2d7326958126dc960bf4ef09c9a4e4f (patch)
treecce44ad2c805c5c05a5e89f0aa63ca64b2c9fc30 /views/script/core_chart.js
parentce99cfa3de0a74c8ab09c47d9a5295212021d769 (diff)
downloadkartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.tar.gz
kartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.tar.bz2
kartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.zip
Update!
Diffstat (limited to 'views/script/core_chart.js')
-rw-r--r--views/script/core_chart.js19
1 files changed, 2 insertions, 17 deletions
diff --git a/views/script/core_chart.js b/views/script/core_chart.js
index d34ce21..059c818 100644
--- a/views/script/core_chart.js
+++ b/views/script/core_chart.js
@@ -62,24 +62,9 @@ setInterval(() => {
}
if (require('./package.json').channel === "git") {
- if (currentMemory < 100) {
- document.getElementById('experimental-ramusage').innerText = "0" + currentMemoryMib;
- } else {
- document.getElementById('experimental-ramusage').innerText = currentMemoryMib;
- }
- buff = Buffer.from(activity, 'utf-8').toString("hex");
- document.title="Kartik Trunk " +require('./package.json').version + "-" + require('./package.json').serial.toLowerCase() + "-debugkeys - <Debugging On>";
+ document.title="Kartik Trunk " +require('./package.json').version;
} else {
- if (require('./package.json').channel !== "stable") {
- if (currentMemory < 100) {
- document.getElementById('experimental-ramusage').innerText = "0" + currentMemoryMib;
- } else {
- document.getElementById('experimental-ramusage').innerText = currentMemoryMib;
- }
- document.title="Kartik"+require('@electron/remote').getCurrentWindow().channel+require('./package.json').version + eaid;
- } else {
- document.title="Kartik"+require('@electron/remote').getCurrentWindow().channel+require('./package.json').version + eaid;
- }
+ document.title="Kartik"+require('@electron/remote').getCurrentWindow().channel+require('./package.json').version + eaid;
}
} catch (e) {}
}, 1000) \ No newline at end of file