Initial version of grunt unit-tests
, tests from command-line
FREEBIE
This commit is contained in:
parent
4402a91976
commit
5635095d1a
2 changed files with 63 additions and 1 deletions
2
main.js
2
main.js
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue