Added the in app marketplace
This commit is contained in:
@@ -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')
|
||||
});
|
||||
Reference in New Issue
Block a user