fix: deep link installs of extensions (#1333)
This commit is contained in:
@@ -26,6 +26,7 @@ type ElectronAPI = {
|
||||
channel: string,
|
||||
callback: (event: Electron.IpcRendererEvent, ...args: any[]) => void
|
||||
) => void;
|
||||
emit: (channel: string, ...args: any[]) => void;
|
||||
};
|
||||
|
||||
type AppConfigAPI = {
|
||||
@@ -55,6 +56,9 @@ const electronAPI: ElectronAPI = {
|
||||
off: (channel: string, callback: (event: Electron.IpcRendererEvent, ...args: any[]) => void) => {
|
||||
ipcRenderer.off(channel, callback);
|
||||
},
|
||||
emit: (channel: string, ...args: any[]) => {
|
||||
ipcRenderer.emit(channel, ...args);
|
||||
},
|
||||
};
|
||||
|
||||
const appConfigAPI: AppConfigAPI = {
|
||||
|
||||
Reference in New Issue
Block a user