launcher: add Start minimized menu option
This commit is contained in:
parent
37130c22d0
commit
d6a864fe71
3 changed files with 34 additions and 21 deletions
|
|
@ -62,6 +62,9 @@ module.exports = function(options={}) {
|
|||
|
||||
window.once('ready-to-show', ()=>{
|
||||
window.show()
|
||||
if (options.id === 'launcher' && settings.read('startMinimized')) {
|
||||
window.minimize()
|
||||
}
|
||||
})
|
||||
|
||||
window.webContents.once('page-title-updated', ()=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue