Skip to content

Commit

Permalink
dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
caorushizi committed Jan 22, 2024
1 parent 6fbeb66 commit 030a43f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/main/src/windows/window.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BrowserWindow, BrowserWindowConstructorOptions } from "electron";
import isDev from "electron-is-dev";

export default class Window {
window: BrowserWindow | null = null;
Expand Down Expand Up @@ -28,7 +27,7 @@ export default class Window {
if (!this.window) return;

this.window.show();
isDev && this.window.webContents.openDevTools();
this.window.webContents.openDevTools();
};

windowClose = () => {
Expand Down

0 comments on commit 030a43f

Please sign in to comment.