feat: adding optional common redist install

This commit is contained in:
Chubby Granny Chaser
2025-04-06 22:13:26 +01:00
parent ede538392f
commit 1520e2b2ae
9 changed files with 50 additions and 8 deletions

View File

@@ -295,6 +295,7 @@ contextBridge.exposeInMainWorld("electron", {
ipcRenderer.invoke("showItemInFolder", path),
getFeatures: () => ipcRenderer.invoke("getFeatures"),
getBadges: () => ipcRenderer.invoke("getBadges"),
canInstallCommonRedist: () => ipcRenderer.invoke("canInstallCommonRedist"),
installCommonRedist: () => ipcRenderer.invoke("installCommonRedist"),
platform: process.platform,