Skip to content

Commit

Permalink
fix open devtools before app is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapaezbas committed Nov 21, 2024
1 parent 465a9e2 commit 205ceb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class Menu {
visible: false,
click (_, win) {
const [view] = win.getBrowserViews()
if (!view) return
view.webContents.openDevTools({ mode: 'detach' })
}
}])
Expand Down

0 comments on commit 205ceb4

Please sign in to comment.