diff --git a/src/main/index.js b/src/main/index.js index 4dcd521..44b0d89 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -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: {