Update renderer.js

Implement a function to send IPC message
main
Nazım Gediz Aydındoğmuş 2 years ago
parent 8747b875f1
commit f8fbf242b1

@ -1,2 +1,9 @@
const information = document.getElementById('info')
information.innerText = `This app is using Chrome (v${versions.chrome()}), Node.js (v${versions.node()}), and Electron (v${versions.electron()})`
information.innerText = `This app is using Chrome (v${versions.chrome()}), Node.js (v${versions.node()}), and Electron (v${versions.electron()})`
const func = async () => {
const response = await window.versions.ping()
console.log(response) // prints out 'pong'
}
func()

Loading…
Cancel
Save