mirror of
https://github.com/atom/atom.git
synced 2026-01-14 01:18:01 -05:00
Respect "headless" on non-spec windows
This commit is contained in:
@@ -784,7 +784,9 @@ class AtomEnvironment {
|
||||
|
||||
const loadStatePromise = this.loadState().then(async state => {
|
||||
this.windowDimensions = state && state.windowDimensions
|
||||
await this.displayWindow()
|
||||
if (!this.getLoadSettings().headless) {
|
||||
await this.displayWindow()
|
||||
}
|
||||
this.commandInstaller.installAtomCommand(false, (error) => {
|
||||
if (error) console.warn(error.message)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user