mirror of
https://github.com/marktext/marktext.git
synced 2025-05-10 21:09:59 +08:00
Add support for recently used directory (#718)
This commit is contained in:
parent
cbd90bfeb4
commit
519f82451a
@ -130,6 +130,7 @@ class AppWindow {
|
||||
.catch(log)
|
||||
// open directory / folder
|
||||
} else if (pathname && isDirectory(pathname)) {
|
||||
appMenu.addRecentlyUsedDocument(pathname)
|
||||
this.openFolder(win, pathname)
|
||||
// open a window but do not open a file or directory
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user