test: add sudo
This commit is contained in:
1 parent
429caf571f
commit
b02c262095
2 files changed
+2
-1
No files matched your search
@@ -24,6 +24,7 @@ contextBridge.exposeInMainWorld('mainApi', {
|
||||
const result = await ipcRenderer.invoke.apply(null, [channel, ...data])
|
||||
return result
|
||||
}
|
||||
|
||||
throw new Error(`Invoke failed: Unknown ipc channel name: ${channel}`)
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user