launcher: fix bg color & disable menu bar before loading url
This commit is contained in:
parent
adfe88a37e
commit
72cb41dcc1
2 changed files with 3 additions and 3 deletions
|
|
@ -54,10 +54,10 @@ module.exports = function(options={}) {
|
|||
window = null
|
||||
})
|
||||
|
||||
window.loadURL(options.address)
|
||||
|
||||
window.setMenu(null)
|
||||
|
||||
window.loadURL(options.address)
|
||||
|
||||
if (options.shortcuts) {
|
||||
|
||||
shortcut.register(window,'CmdOrCtrl+R',function(){
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ if (settings.cli) {
|
|||
launcher
|
||||
|
||||
app.on('ready',function(){
|
||||
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:(100 + 8*3 + 29 * Object.keys(settings.options).filter(x => settings.options[x].launcher !== false).length), node:true, color:'#283143'})
|
||||
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:(100 + 8*3 + 29 * Object.keys(settings.options).filter(x => settings.options[x].launcher !== false).length), node:true, color:'#253040'})
|
||||
})
|
||||
|
||||
if (process.log) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue