launcher: disable ctrl+r for real
This commit is contained in:
parent
b02f7b1297
commit
c5f5259b4d
2 changed files with 5 additions and 1 deletions
|
|
@ -37,6 +37,10 @@ module.exports = function(options={}) {
|
|||
window.toggleDevTools();
|
||||
})
|
||||
|
||||
} else {
|
||||
shortcut.register(window,'CmdOrCtrl+R',function(e){
|
||||
return false
|
||||
})
|
||||
}
|
||||
|
||||
return window
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ var start = function(readyApp) {
|
|||
return require('./electron-window')({address:address, shortcuts:true})
|
||||
} else {
|
||||
app.on('ready',function(){
|
||||
require('./electron-window')({address:address, shortcuts:false})
|
||||
require('./electron-window')({address:address, shortcuts:true})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue