Quellcode durchsuchen

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 vor 8 Jahren
Ursprung
Commit
07200177f5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 () {