Skip to content

Commit

Permalink
Open devtools only in development
Browse files Browse the repository at this point in the history
  • Loading branch information
barak committed Aug 14, 2024
1 parent 2a931f9 commit 62f1efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function createWindow(): void {
}
})

if (process.env.NODE_ENV !== 'production') {
if (process.env.NODE_ENV === 'development') {
mainWindow.webContents.openDevTools()
}

Expand Down

0 comments on commit 62f1efe

Please sign in to comment.