Skip to content

Commit 0949883

Browse files
committed
Add extension to window's dev tools
1 parent 44d67fe commit 0949883

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function createWindow () {
2020
var iconPath = path.join(__dirname, '/assets/app-icon/png/512.png')
2121
mainWindow = new BrowserWindow({ width: 1080, minWidth: 680, height: 800, icon: iconPath })
2222
mainWindow.loadURL('file://' + path.join(__dirname, 'index.html'))
23+
BrowserWindow.addDevToolsExtension(path.join(__dirname, 'assets/accessibility-devtools'))
2324
mainWindow.on('closed', function () {
2425
mainWindow = null
2526
})

0 commit comments

Comments
 (0)