diff options
author | RaindropsSys <contact@minteck.org> | 2023-07-05 10:32:17 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-07-05 10:32:17 +0200 |
commit | fcd577cf9864e821af5c901440d467a60161cded (patch) | |
tree | e0e6f9e7ae4e968cacdba3aabb922f6c2a756486 /core | |
parent | 60d34c816927d2114690fb41c9f0faec430667c8 (diff) | |
download | kirinos-fcd577cf9864e821af5c901440d467a60161cded.tar.gz kirinos-fcd577cf9864e821af5c901440d467a60161cded.tar.bz2 kirinos-fcd577cf9864e821af5c901440d467a60161cded.zip |
Updated 3 files (automated)
Diffstat (limited to 'core')
-rw-r--r-- | core/desktop/index.html | 26 | ||||
-rw-r--r-- | core/status/index.html | 2 |
2 files changed, 27 insertions, 1 deletions
diff --git a/core/desktop/index.html b/core/desktop/index.html index 44fceb5..cf21767 100644 --- a/core/desktop/index.html +++ b/core/desktop/index.html @@ -235,6 +235,32 @@ </head> <body> <script> + const ipcRenderer = require('electron').ipcRenderer; + + ipcRenderer.on('mediakey', (event, key) => { + console.log("mediakey =>", key); + }); + + ipcRenderer.on('desktop', (event) => { + console.log("desktop"); + }); + + ipcRenderer.on('close', (event) => { + console.log("close"); + }); + + ipcRenderer.on('menu', (event) => { + console.log("menu"); + }); + + ipcRenderer.on('switch', (event) => { + console.log("switch"); + }); + + ipcRenderer.on('switchBack', (event) => { + console.log("switchBack"); + }); + function transferError(error) { console.error(error); diff --git a/core/status/index.html b/core/status/index.html index 35a16b7..4a813b2 100644 --- a/core/status/index.html +++ b/core/status/index.html @@ -125,7 +125,7 @@ return online; } - let hasInternetAccess = false, + let hasInternetAccess = false; (async () => { hasInternetAccess = await connectionCheck(); |