mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix(electron): open assets link in folder freezes file browser
Close #10491
This commit is contained in:
@@ -90,14 +90,6 @@ contextBridge.exposeInMainWorld('apis', {
|
||||
await shell.openPath(path)
|
||||
},
|
||||
|
||||
showItemInFolder (fullpath) {
|
||||
if (IS_WIN32) {
|
||||
shell.openPath(path.dirname(fullpath).replaceAll("/", "\\"))
|
||||
} else {
|
||||
shell.showItemInFolder(fullpath)
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* save all publish assets to disk
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user