On boot, open up the most recently opened file/dir

This commit is contained in:
Corey Johnson
2011-09-12 12:25:25 -07:00
parent a65d081855
commit e5efaffdb4

View File

@@ -6,4 +6,7 @@ App.setActiveWindow new Window controller: WindowController
Editor = require 'editor'
App.activeWindow.document = new Editor
if localStorage.lastOpenedFilename
App.activeWindow.open(localStorage.lastOpenedFilename)
require 'plugins'