diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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> |