Explorar el Código

:art: ipcRenderer

Vanessa hace 1 año
padre
commit
23fe26b37e
Se han modificado 1 ficheros con 1 adiciones y 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'],