Преглед изворни кода

Comment out enabling dev tools

I feel like people should know how to do this but I have personally seen people getting confused as to why the developer tools show up. This would make it so you are not required to even touch this file
Alex Anderson пре 8 година
родитељ
комит
07200177f5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      main.js

+ 1 - 1
main.js

@@ -23,7 +23,7 @@ function createWindow () {
   }))
 
   // Open the DevTools.
-  mainWindow.webContents.openDevTools()
+  // mainWindow.webContents.openDevTools()
 
   // Emitted when the window is closed.
   mainWindow.on('closed', function () {