Ver Fonte

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 há 8 anos atrás
pai
commit
07200177f5
1 ficheiros alterados com 1 adições e 1 exclusões
  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 () {