mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 ipcRenderer
This commit is contained in:
parent
9a298928af
commit
23fe26b37e
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const {ipcRenderer} = require('electron')
|
const {ipcRenderer} = require('electron')
|
||||||
const result = await ipcRenderer.invoke(Constants.SIYUAN_GET, {
|
const result = await ipcRenderer.invoke("siyuan-get", {
|
||||||
cmd: "showOpenDialog",
|
cmd: "showOpenDialog",
|
||||||
defaultPath: defaultWorkspace,
|
defaultPath: defaultWorkspace,
|
||||||
properties: ['openDirectory', 'createDirectory'],
|
properties: ['openDirectory', 'createDirectory'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue