aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.html b/index.html
index 4cdc345..86375d0 100644
--- a/index.html
+++ b/index.html
@@ -86,9 +86,8 @@
<script>
document.write(`<webview id="wb" src="views/loader.html" style="border: 0;z-index:2;top:0;left:0;right:0;bottom:0;position:fixed;" nodeintegration disablewebsecurity allowpopups webpreferences="nodeIntegration,contextIsolation=no"></webview>`);
if (require('@electron/remote').getCurrentWindow().update !== "stable") {
- document.write(`<div style="position: fixed;top: 0;left: 0;right: 0;height: auto;font-family: sans-serif;font-size: 12px;background: red;z-index: 9;text-align: center;">EXPERIMENTAL BUILD, NOT FOR PRODUCTION —${require('@electron/remote').getCurrentWindow().channel}${require('./package.json').version} — ${require('./package.json').serial} — <span style="font-family:sans-serif;font-size:12px;" id="experimental-ramusage">NaN</span> MiB</div>`);
+ document.write(`<div style="position: fixed;top: 10px;left: 10px;right: 10px;height: auto;font-size: 10px;background: rgba(255, 0, 0, .5);z-index: 9;text-align: center;color: white;border-radius: 999px;">Experimental Build:${require('@electron/remote').getCurrentWindow().channel}${require('./package.json').version}, do not use in production | SKU: <span style="font-family:monospace;font-size:12px;" id="experimental-sku">KRTK-1@${require('./package.json').serial}</span> | Mem: <span style="font-family:monospace;font-size:12px;" id="experimental-ramusage">NaN</span> MiB</div>`);
}
- //document.write(`<webview id="wb" src="about:blank" style="border: 0;z-index:2;top:0;left:0;right:0;bottom:0;position:fixed;" nodeintegration disablewebsecurity allowpopups webpreferences="nodeIntegration,contextIsolation=no"></webview>`);
</script>
</div>
<script src="./views/script/core_chart.js"></script>