mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-26 23:51:14 +02:00
feat(window): maximize main window on ready-to-show event
This commit is contained in:
parent
6c4b491b33
commit
5f55cee7df
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ export function createMainWindow(initialPath = '/dashboard'): BrowserWindow {
|
|||
});
|
||||
|
||||
mainWindow.once('ready-to-show', () => {
|
||||
mainWindow?.maximize();
|
||||
mainWindow?.show();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue