Ver V0.1.14 Add automatic ui refresh

This commit is contained in:
2026-10-06 23:40:11 +03:00
parent e50073ab4c
commit 2becdcccd7
6 changed files with 88 additions and 38 deletions
+1
View File
@@ -1,6 +1,7 @@
const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('daybreakMail', {
getAppVersion: () => ipcRenderer.invoke('app:get-version'),
getAccount: () => ipcRenderer.invoke('mail:get-account'),
listAccounts: () => ipcRenderer.invoke('mail:list-accounts'),
selectAccount: id => ipcRenderer.invoke('mail:select-account', id),