3.6版本
This commit is contained in:
@@ -9,6 +9,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
|
||||
startMq: (tendid, id) => ipcRenderer.invoke('start-mq', tendid, id),
|
||||
fileExists: (url) => ipcRenderer.invoke('file-exists', url),
|
||||
isiproxy: (url) => ipcRenderer.invoke('isiproxy', url),
|
||||
getVersion: () => ipcRenderer.invoke('getVersion'),
|
||||
})
|
||||
|
||||
contextBridge.exposeInMainWorld('appUpdater', {
|
||||
@@ -27,4 +28,4 @@ window.addEventListener('unload', () => {
|
||||
ipcRenderer.removeAllListeners('update:progress');
|
||||
ipcRenderer.removeAllListeners('update:downloaded');
|
||||
ipcRenderer.removeAllListeners('update:error');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user