24c9cbcc0a
docs: handle opening links in the default browser in the main process
7 lines
192 B
JavaScript
7 lines
192 B
JavaScript
const { ipcRenderer } = require('electron')
|
|
|
|
const errorBtn = document.getElementById('error-dialog')
|
|
|
|
errorBtn.addEventListener('click', event => {
|
|
ipcRenderer.send('open-error-dialog')
|
|
})
|