Merge 2af2a376b0691085c6af5114430bca5d1e620f4d into c7e5fd70cdfb2faacdd3da59119f583fa326e8fc

This commit is contained in:
King Judd 2024-03-26 07:20:33 +00:00 committed by GitHub
commit 28c8d11f59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ contextBridge.exposeInMainWorld('ipcRenderer', {
},
invoke(...args: Parameters<typeof ipcRenderer.invoke>) {
const [channel, ...omit] = args
ipcRenderer.invoke(channel, ...omit)
return ipcRenderer.invoke(channel, ...omit)
},
// You can expose other APTs you need here.