Skip to content

Commit 42106df

Browse files
author
Jessica Lord
authored
Merge pull request electron#237 from electron/autoinstall-devtron
add devtron to dev tools automatically in development
2 parents a446d32 + 4ea8602 commit 42106df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function initialize () {
3737
if (debug) {
3838
mainWindow.webContents.openDevTools()
3939
mainWindow.maximize()
40+
require('devtron').install()
4041
}
4142

4243
mainWindow.on('closed', function () {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"devDependencies": {
4141
"chai": "^3.4.1",
4242
"chai-as-promised": "^5.1.0",
43-
"devtron": "^1.0.0",
43+
"devtron": "^1.3.0",
4444
"electron-packager": "^7.0.1",
4545
"electron-prebuilt": "^1.2.6",
4646
"electron-windows-store": "^0.3.0",

0 commit comments

Comments
 (0)