Browse Source

Merge pull request #132 from codeyu/master

禁用全屏模式
oldj 9 years ago
parent
commit
613fd9cde0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/main.js

+ 2 - 1
app/main.js

@@ -29,7 +29,8 @@ function createWindow() {
     // Create the browser window.
     mainWindow = new BrowserWindow({
         width: 800, height: 500,
-        minWidth: 400, minHeight: 250
+        minWidth: 400, minHeight: 250,
+        fullscreenable: false
     });
     contents = mainWindow.webContents;
     app.mainWindow = mainWindow;