notifications

This commit is contained in:
2026-02-27 22:12:49 +11:00
parent 687b42872c
commit 3493508b8a
5 changed files with 101 additions and 6 deletions

View File

@@ -150,6 +150,11 @@ contextBridge.exposeInMainWorld('electron', {
sendResponse: (channel, result) => {
ipcRenderer.invoke(channel, result);
}
},
// Desktop notifications
notification: {
show: (options) => ipcRenderer.invoke('show-notification', options)
}
});