禁用双击最大化 #138

Merged
lyc merged 1 commits from lyc-dev into main 2024-08-15 14:57:30 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit a17be49850 - Show all commits

View File

@ -65,6 +65,7 @@ function createMainWindow() {
show: false, show: false,
frame: false, // 无边框 frame: false, // 无边框
autoHideMenuBar: true, autoHideMenuBar: true,
maximizable: false,
icon: join(__dirname, '../../resources/logo2.ico'), icon: join(__dirname, '../../resources/logo2.ico'),
...(process.platform === 'linux' ? { icon } : {}), ...(process.platform === 'linux' ? { icon } : {}),
webPreferences: { webPreferences: {