Merge pull request #34 from ente-io/fix-app-pinned-during-load

dont pin splash screen on top
This commit is contained in:
Vishnu Mohandas 2022-07-11 23:28:48 +05:30 committed by GitHub
commit 034c5a5f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,11 +19,10 @@ export function createWindow(): BrowserWindow {
contextIsolation: false, contextIsolation: false,
}, },
icon: appIcon, icon: appIcon,
show: false, // don't show the main window show: false, // don't show the main window on load
}); });
mainWindow.maximize(); mainWindow.maximize();
const splash = new BrowserWindow({ const splash = new BrowserWindow({
alwaysOnTop: true,
height: 600, height: 600,
width: 800, width: 800,
transparent: true, transparent: true,