mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
844c5ce688
commit
ec65118339
6 changed files with 56 additions and 52 deletions
|
|
@ -665,7 +665,7 @@ app.whenReady().then(() => {
|
|||
app.exit();
|
||||
});
|
||||
ipcMain.handle("siyuan-dialog", (event, data) => {
|
||||
return dialog.showOpenDialog(data);
|
||||
return dialog[data.type || "showOpenDialog"](data);
|
||||
});
|
||||
ipcMain.on("siyuan-cmd", (event, cmd) => {
|
||||
switch (cmd) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue