aboutsummaryrefslogtreecommitdiff
path: root/views/script/core_chart.js
diff options
context:
space:
mode:
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