Skip to content

Commit

Permalink
Adding a slightly metter IPC example
Browse files Browse the repository at this point in the history
  • Loading branch information
acrosman committed Aug 19, 2020
1 parent a507cda commit 8ea2348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ app.on('activate', () => {
ipcMain.on('sample_message', (event, args) => {
// Sample useless response.
mainWindow.webContents.send('sample_response', {
message: 'This is a useless IPC message.',
message: 'Interface sent a message to main: ' + args.message_content,
});
return true;
});

0 comments on commit 8ea2348

Please sign in to comment.