Skip to content

Commit 52c67f9

Browse files
committed
no dev tools
1 parent fc306fe commit 52c67f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/main.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ const createWindow = async () => {
915915
});
916916

917917
mainWindow.loadURL(resolveHtmlPath('index.html'));
918-
mainWindow.webContents.openDevTools();
918+
919919
mainWindow.on('ready-to-show', () => {
920920
if (!mainWindow) {
921921
throw new Error('"mainWindow" is not defined');
@@ -940,8 +940,6 @@ const createWindow = async () => {
940940
return { action: 'deny' };
941941
});
942942

943-
mainWindow.webContents.openDevTools();
944-
945943
// Remove this if your app does not use auto updates
946944
// eslint-disable-next-line
947945
new AppUpdater();

0 commit comments

Comments
 (0)