🎨 ipcRenderer

This commit is contained in:
Vanessa 2023-10-09 10:26:26 +08:00
parent 9a298928af
commit 23fe26b37e

View file

@ -358,7 +358,7 @@
}
const {ipcRenderer} = require('electron')
const result = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
const result = await ipcRenderer.invoke("siyuan-get", {
cmd: "showOpenDialog",
defaultPath: defaultWorkspace,
properties: ['openDirectory', 'createDirectory'],