Explorar o código

:art: ipcRenderer

Vanessa hai 1 ano
pai
achega
23fe26b37e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/electron/init.html

+ 1 - 1
app/electron/init.html

@@ -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'],