默认全屏 #338

Merged
lyc merged 1 commits from lyc-dev into main 2024-10-19 16:59:36 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 75384c8057 - Show all commits

View File

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