1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: disable auto opening dev tools in development mode

This commit is contained in:
2025-01-31 13:33:42 +01:00
parent f3c3284fd1
commit e3b30359bf

View File

@ -128,8 +128,8 @@ app.on('ready', async () => {
if (isWindows)
mainWindow.show();
if (isDevelopment && !isWindows)// Because on Windows you can open devtools from title-bar
mainWindow.webContents.openDevTools();
// if (isDevelopment && !isWindows)
// mainWindow.webContents.openDevTools();
process.on('uncaughtException', error => {
mainWindow.webContents.send('unhandled-exception', error);