mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Open the Explorer window in the foreground (#14828)
fix https://github.com/siyuan-note/siyuan/issues/12652
This commit is contained in:
parent
6ce25af3c6
commit
bf08509986
8 changed files with 25 additions and 12 deletions
|
|
@ -764,6 +764,9 @@ app.whenReady().then(() => {
|
|||
ipcMain.on("siyuan-open-folder", (event, filePath) => {
|
||||
shell.showItemInFolder(filePath);
|
||||
});
|
||||
ipcMain.on("siyuan-open-path", (event, filePath) => {
|
||||
shell.openPath(filePath);
|
||||
});
|
||||
ipcMain.on("siyuan-first-quit", () => {
|
||||
app.exit();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue