mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Load packages before deserializing workspace
This ensures that package-defined deserializers work.
This commit is contained in:
@@ -612,7 +612,7 @@ class AtomEnvironment extends Model
|
||||
@registerDefaultTargetForKeymaps()
|
||||
|
||||
@packages.loadPackages()
|
||||
|
||||
@loadStateSync()
|
||||
@document.body.appendChild(@views.getView(@workspace))
|
||||
|
||||
@watchProjectPath()
|
||||
|
||||
@@ -24,7 +24,6 @@ window.atom = new AtomEnvironment({
|
||||
})
|
||||
|
||||
atom.displayWindow()
|
||||
atom.loadStateSync()
|
||||
atom.startEditorWindow()
|
||||
|
||||
# Workaround for focus getting cleared upon window creation
|
||||
|
||||
Reference in New Issue
Block a user