122685194a
* build: add import/order eslint rule * chore: run lint:js --fix
5 lines
144 B
JavaScript
5 lines
144 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
|
|
ipcRenderer.on('ping', function (event, message) {
|
|
ipcRenderer.sendToHost('pong', message);
|
|
});
|