From adabd5f0b2d7326958126dc960bf4ef09c9a4e4f Mon Sep 17 00:00:00 2001 From: Minteck <46352972+Minteck@users.noreply.github.com> Date: Wed, 7 Jul 2021 17:01:51 +0200 Subject: Update! --- views/script/core_chart.js | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'views/script/core_chart.js') 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 - "; + 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 -- cgit