From 5e7598689a48025a98bffad1630f648baa64d235 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Mon, 26 Jan 2026 15:38:17 +0100 Subject: [PATCH] Add toast to ipc example command --- src/main/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 4d9bbab..e6879d7 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -124,7 +124,10 @@ app.whenReady().then(() => { }) // IPC test - ipcMain.on('ping', () => console.log('pong')) + ipcMain.on('ping', () => { + console.log('pong'); + showToast('pong'); + }); ipcMain.on('finish-setup', () => finishSetup()) ipcMain.handle('get-version', () => app.getVersion())