Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
add dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolashajdys committed May 11, 2023
1 parent ff0db94 commit 5fcb1dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ const createWindow = () => {

// and load the index.html of the app.
mainWindow.loadURL(MAIN_WINDOW_WEBPACK_ENTRY)
mainWindow.webContents.openDevTools()

if (process.env.SYNC_TOOL_DEV_TOOLS) {
mainWindow.webContents.openDevTools()
}
Expand Down

0 comments on commit 5fcb1dd

Please sign in to comment.