aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-10 22:00:49 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-10 22:00:49 +0200
commitdfbe8476aa6323bf1d9e699b5e08165a8403b21c (patch)
treee2fab6a5986c1f7b9d55a7b1009263ff98b5a33c /index.html
parent3e62534eb7db3011ef540b6053811d48761dda21 (diff)
downloadkartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.gz
kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.bz2
kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.zip
(Pre)final commit !
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>