launcher: start hidden on mac is "start minimized" is set
This commit is contained in:
parent
d387397c14
commit
f78814ba45
2 changed files with 8 additions and 1 deletions
|
|
@ -63,7 +63,11 @@ module.exports = function(options={}) {
|
|||
window.once('ready-to-show', ()=>{
|
||||
window.show()
|
||||
if (options.id === 'launcher' && settings.read('startMinimized')) {
|
||||
window.minimize()
|
||||
if (process.platform === 'darwin') {
|
||||
window.hide()
|
||||
} else {
|
||||
window.minimize()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue