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

perf(UI): new application icon

This commit is contained in:
2021-04-30 14:14:01 +02:00
parent 5208ec171b
commit 5822b3df43
14 changed files with 158 additions and 8 deletions

View File

@ -92,13 +92,15 @@ else {
// on macOS it is common to re-create a window even after all windows have been closed
if (mainWindow === null) {
mainWindow = await createMainWindow();
mainWindow.webContents.openDevTools();
if (isDevelopment)
mainWindow.webContents.openDevTools();
}
});
// create main BrowserWindow when electron is ready
app.on('ready', async () => {
mainWindow = await createMainWindow();
mainWindow.webContents.openDevTools();
if (isDevelopment)
mainWindow.webContents.openDevTools();
});
}