Upload via GUI (72 Dateien)

This commit is contained in:
2026-10-25 17:48:07 +00:00
parent e812dac9e4
commit 7b6403ceb0
7 changed files with 83 additions and 3 deletions
+3
View File
@@ -10,6 +10,9 @@ contextBridge.exposeInMainWorld('deskhub', {
settings: () => ipcRenderer.invoke('settings:get'),
setSettings: (patch) => ipcRenderer.invoke('settings:set', patch),
badge: (count, dataUrl) => ipcRenderer.invoke('badge', { count, dataUrl }),
updateCheck: () => ipcRenderer.invoke('update:check'),
updateInstall: () => ipcRenderer.invoke('update:install'),
onUpdateProgress: (cb) => ipcRenderer.on('update-progress', (_e, pct) => cb(pct)),
onNavigate: (cb) => ipcRenderer.on('navigate', (_e, page) => cb(page)),
onSessionExpired: (cb) => ipcRenderer.on('session-expired', () => cb()),
});