yangjie #22
2
main.js
2
main.js
|
|
@ -413,6 +413,8 @@ function windowOperation(config) {
|
||||||
child.setResizable(false)
|
child.setResizable(false)
|
||||||
child.setMovable(false)
|
child.setMovable(false)
|
||||||
mainWindow.setPosition(-999999, -999999);
|
mainWindow.setPosition(-999999, -999999);
|
||||||
|
if (env === 'development') {
|
||||||
child.webContents.openDevTools()
|
child.webContents.openDevTools()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue