diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-14 01:12:14 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-14 01:12:14 +0200 |
commit | 0f0e3de9353c06dfaabc00682b4c2fd9c5f48924 (patch) | |
tree | aef2474d205aea7865f7c9a4f17ffee474bbe7bc /views/stats.html | |
parent | c3b756f987ffd8ca981c1e6f23435c74aad36aea (diff) | |
download | kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.tar.gz kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.tar.bz2 kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.zip |
Kartik Fox Nest!
Diffstat (limited to 'views/stats.html')
-rw-r--r-- | views/stats.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/stats.html b/views/stats.html index 018e164..92183ab 100644 --- a/views/stats.html +++ b/views/stats.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en" style="background:#000000;margin:0;height:100%;width:100%;"> <head> - <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};</script> + <script>if (typeof require !== "undefined") {native = true;try{global.native = true;}catch(e){}} else {native = false;try{global.native = false;}catch(e){}}if (!native){global = window;}if (native){kresources=require('@electron/remote').getCurrentWindow().resources;trackEvent=require('@electron/remote').getCurrentWindow().trackEvent;}info=(_a,b)=>{console.info(b);};warn=(_a,b)=>{console.warn(b);};error=(_a,b)=>{console.error(b);};const Nest = require("../nest/abi");currentNest = require('@electron/remote').getCurrentWindow().nest;</script> <script src="../lang/loader.js"></script> <script src="../scenario/client.js"></script> <meta charset="UTF-8"> @@ -29,7 +29,7 @@ <div id="box" style="display: none;background:#222;position:fixed;top:0;left:0;right:0;bottom:0;"> <div style="position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;"> <div style="text-align: center;"> - <h2><script>let homedir = require('@electron/remote').getCurrentWindow().homedir;document.write(lang.stats.title);stats=require(homedir + "/.kartik/stats.json")</script></h2> + <h2><script>let homedir = require('@electron/remote').getCurrentWindow().homedir;document.write(lang.stats.title);stats=currentNest.stats</script></h2> <div style="display:grid;grid-template-columns: 1fr 1fr;"> <div style="padding:10px;text-align:left;"><b><script>document.write(lang.stats.items['times.single'])</script></b></div> |