parent
8747b875f1
commit
f8fbf242b1
@ -1,2 +1,9 @@
|
|||||||
const information = document.getElementById('info')
|
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…
Reference in new issue