Added the in app marketplace

This commit is contained in:
2025-11-23 10:17:21 -05:00
parent 1d10083b86
commit bec3423887
12 changed files with 750 additions and 14 deletions

View File

@@ -13,4 +13,10 @@ contextBridge.exposeInMainWorld('api', {
toggleDevTools: () => ipcRenderer.send('toggle-dev-tools'),
getSources: () => ipcRenderer.invoke('api:getSources'),
getInstalledExtensions: () => ipcRenderer.invoke('api:getInstalledExtensions'),
installExtension: (name, url) => ipcRenderer.invoke('api:installExtension', name, url),
uninstallExtension: (name) => ipcRenderer.invoke('api:uninstallExtension', name),
restartApp: () => ipcRenderer.send('app:restart')
});