Chipe
Chipe

Reputation: 4801

Electron building out the app with electron-packager dev tools auto open

So I installed electron packager and have ran then command:

electron-packager . --asar

After it has built the app out I opened it and the dev tools auto open. How can I build out the app so the dev tools do not auto open?

Upvotes: 0

Views: 641

Answers (1)

Chipe
Chipe

Reputation: 4801

I didn't realize that mainWindow.webContents.openDevTools() was in my main.js file from the boiler code I started with. I commented that out and built my app out again and that works.

Upvotes: 1

Related Questions