fix: show proper app version

This commit is contained in:
talksik
2026-04-13 10:41:19 -07:00
parent ae91145762
commit 4e76ce902f
3 changed files with 9 additions and 17 deletions
+1
View File
@@ -73,4 +73,5 @@ contextBridge.exposeInMainWorld('electronAttachment', {
contextBridge.exposeInMainWorld('electronApp', {
setDockBadge: (count: number) => ipcRenderer.send('app:set-dock-badge', count),
getVersion: () => ipcRenderer.invoke('app:get-version') as Promise<string>,
});