mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 https://github.com/siyuan-note/siyuan/issues/9368 open new window
This commit is contained in:
parent
797716fa1d
commit
56f4b6274d
6 changed files with 35 additions and 31 deletions
|
|
@ -297,6 +297,9 @@ export const initWindow = (app: App) => {
|
|||
}
|
||||
});
|
||||
}
|
||||
ipcRenderer.on(Constants.SIYUAN_OPEN_FILE, (event, data) => {
|
||||
openFile(data);
|
||||
});
|
||||
ipcRenderer.on(Constants.SIYUAN_SAVE_CLOSE, (event, close) => {
|
||||
if (isWindow()) {
|
||||
closeWindow(app);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue