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
@@ -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 () {