Closed jukirchn closed 2 years ago
Same issue when loading webpage. Should return Received reply from web page: Page Loaded
in that case.
Solved by restructuring the string:
ipcMain.on('editor-reply', (event, arg) => {
console.log('Received reply from web page: ' + arg);
});
Calling
prints
Received reply from web page: ${arg}
in the terminal.Should print:
Received reply from web page: hello world