禁用双击最大化 #138
|
@ -65,6 +65,7 @@ function createMainWindow() {
|
|||
show: false,
|
||||
frame: false, // 无边框
|
||||
autoHideMenuBar: true,
|
||||
maximizable: false,
|
||||
icon: join(__dirname, '../../resources/logo2.ico'),
|
||||
...(process.platform === 'linux' ? { icon } : {}),
|
||||
webPreferences: {
|
||||
|
|
Loading…
Reference in New Issue