Ver V0.1.14 Add automatic ui refresh
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user