mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 01:44:07 +01:00
This commit is contained in:
parent
63badb1c74
commit
9cc9a2862a
2 changed files with 9 additions and 2 deletions
|
|
@ -230,6 +230,9 @@ export const initWindow = async (app: App) => {
|
|||
});
|
||||
}
|
||||
ipcRenderer.on(Constants.SIYUAN_OPEN_FILE, (event, data) => {
|
||||
if (!data.app) {
|
||||
data.app = app;
|
||||
}
|
||||
openFile(data);
|
||||
});
|
||||
ipcRenderer.on(Constants.SIYUAN_SAVE_CLOSE, (event, close) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue