Initial version of grunt unit-tests, tests from command-line

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-05-12 18:39:58 -07:00
parent 4402a91976
commit 5635095d1a
No known key found for this signature in database
GPG key ID: A4931C09644C654B
2 changed files with 63 additions and 1 deletions

View file

@ -146,7 +146,7 @@ function createWindow () {
mainWindow.loadURL(prepareURL([__dirname, 'background.html']));
}
if (config.get('openDevTools')) {
if (config.get('openDevTools') && !process.env.HIDE_DEV_TOOLS) {
// Open the DevTools.
mainWindow.webContents.openDevTools()
}