mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Clean code
This commit is contained in:
parent
26984f39df
commit
94d3ccfa9f
12 changed files with 39 additions and 39 deletions
|
|
@ -713,8 +713,8 @@ app.whenReady().then(() => {
|
|||
}), new MenuItem({
|
||||
role: "selectAll", label: langs.selectAll
|
||||
})];
|
||||
const menu = Menu.buildFromTemplate(template)
|
||||
menu.popup({window: BrowserWindow.fromWebContents(event.sender)})
|
||||
const menu = Menu.buildFromTemplate(template);
|
||||
menu.popup({window: BrowserWindow.fromWebContents(event.sender)});
|
||||
});
|
||||
ipcMain.on("siyuan-open-folder", (event, filePath) => {
|
||||
shell.showItemInFolder(filePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue