From 519f82451a428eefd1a60e5bc32a5217f9eca30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=A3=AB=E7=BE=BD?= Date: Fri, 8 Mar 2019 00:38:32 +0800 Subject: [PATCH] Add support for recently used directory (#718) --- src/main/window.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/window.js b/src/main/window.js index 580d9eda..017789f8 100644 --- a/src/main/window.js +++ b/src/main/window.js @@ -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 {