Browse Source

Disables the debug window

craigsdennis 9 năm trước cách đây
mục cha
commit
67c419dd15
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -34,7 +34,7 @@ app.on('ready', function() {
   mainWindow.loadURL('file://' + __dirname + '/front-end/index.html');
 
   // Open the DevTools.
-  mainWindow.webContents.openDevTools();
+  // mainWindow.webContents.openDevTools();
 
   // Emitted when the window is closed.
   mainWindow.on('closed', function() {