Refactor main.js for improved structure and updates

This commit is contained in:
AMIAY
2026-01-18 04:21:47 +01:00
committed by GitHub
parent f251f77c07
commit 778d48fb62

View File

@@ -66,7 +66,7 @@ function createWindow() {
preload: path.join(__dirname, 'preload.js'), preload: path.join(__dirname, 'preload.js'),
nodeIntegration: false, nodeIntegration: false,
contextIsolation: true, contextIsolation: true,
devTools: true, devTools: false,
webSecurity: true webSecurity: true
} }
}); });
@@ -563,3 +563,4 @@ ipcMain.handle('window-minimize', () => {
mainWindow.minimize(); mainWindow.minimize();
} }
}); });