mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Respect "headless" on non-spec windows
This commit is contained in:
parent
0b0d3485ae
commit
2abbabdafe
@ -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)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user