小调整
parent
89b096d513
commit
842bb4a46f
|
@ -305,7 +305,7 @@ function createWindow (startHideWindow, autoQuitIfError = true) {
|
||||||
}
|
}
|
||||||
win.webContents.executeJavaScript('config')
|
win.webContents.executeJavaScript('config')
|
||||||
.then((value) => {
|
.then((value) => {
|
||||||
log.info('window.config:', value, ', key:', input.key)
|
console.info('window.config:', value, ', key:', input.key)
|
||||||
if (!value || (value.disableBeforeInputEvent !== true && value.disableBeforeInputEvent !== 'true')) {
|
if (!value || (value.disableBeforeInputEvent !== true && value.disableBeforeInputEvent !== 'true')) {
|
||||||
shortcut(event, input)
|
shortcut(event, input)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue