electron: add ipc layer

This commit is contained in:
Tienson Qin
2021-01-20 23:22:29 +08:00
parent abdad5634a
commit 8e5a589885
9 changed files with 456 additions and 36 deletions

View File

@@ -21,10 +21,5 @@
</a>
</h3>
</div>
<script>
require('electron').ipcRenderer.on('hello', (e, v) => {
console.info('[hello] ', v)
})
</script>
</body>
</html>
</html>