test: add sudo

This commit is contained in:
leejooy96 committed 2023-11-15 09:13:26 +09:00
1 parent 429caf571f
commit b02c262095
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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}`)
}
})