Merge pull request '默认全屏' (#338) from lyc-dev into main

This commit is contained in:
lyc 2024-10-19 16:59:35 +08:00
commit 8f91be9a4b
1 changed files with 1 additions and 0 deletions

View File

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