瀏覽代碼

Merge pull request #132 from codeyu/master

禁用全屏模式
oldj 9 年之前
父節點
當前提交
613fd9cde0
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;