feat: adding dynamic badges

This commit is contained in:
Chubby Granny Chaser 2025-03-04 19:44:35 +00:00
parent 8513f83169
commit e5f7e9addc
No known key found for this signature in database
19 changed files with 118 additions and 103 deletions

View file

@ -266,6 +266,7 @@ contextBridge.exposeInMainWorld("electron", {
showItemInFolder: (path: string) =>
ipcRenderer.invoke("showItemInFolder", path),
getFeatures: () => ipcRenderer.invoke("getFeatures"),
getBadges: () => ipcRenderer.invoke("getBadges"),
platform: process.platform,
/* Auto update */