This commit is contained in:
yj 2024-10-11 17:50:58 +08:00
parent 7b01ff6722
commit e89d820797
1 changed files with 3 additions and 1 deletions

View File

@ -413,6 +413,8 @@ function windowOperation(config) {
child.setResizable(false)
child.setMovable(false)
mainWindow.setPosition(-999999, -999999);
child.webContents.openDevTools()
if (env === 'development') {
child.webContents.openDevTools()
}
}
}