aboutsummaryrefslogtreecommitdiff
path: root/index.html
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 /index.html
parentce99cfa3de0a74c8ab09c47d9a5295212021d769 (diff)
downloadkartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.tar.gz
kartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.tar.bz2
kartik-client-adabd5f0b2d7326958126dc960bf4ef09c9a4e4f.zip
Update!
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.html b/index.html
index 86375d0..6c44948 100644
--- a/index.html
+++ b/index.html
@@ -9,6 +9,7 @@
<link rel="stylesheet" href="./views/common/fonts.css">
<link rel="stylesheet" href="./views/common/index.css">
<script src="./views/script/core_head.js"></script>
+ <script src="./views/script/core_compatlayer.js"></script>
<script src="./views/script/core_fullscreen.js"></script>
<script>
if (native) {
@@ -85,9 +86,6 @@
<script>if (!native) { document.getElementById('titlebar').style.display = "none"; }</script>
<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: 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>`);
- }
</script>
</div>
<script src="./views/script/core_chart.js"></script>