We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f6629 commit 2462b6aCopy full SHA for 2462b6a
src/main/index.ts
@@ -21,13 +21,19 @@ function createWindow(): void {
21
minHeight: 600,
22
backgroundColor: '#0a0a0a',
23
titleBarStyle: 'hiddenInset',
24
+ show: false,
25
webPreferences: {
26
nodeIntegration: false,
27
contextIsolation: true,
28
preload: path.join(__dirname, 'preload.js'),
29
},
30
});
31
32
+ mainWindow.once('ready-to-show', () => {
33
+ mainWindow?.maximize();
34
+ mainWindow?.show();
35
+ });
36
+
37
// Set up menu for keyboard shortcuts
38
const template: MenuItemConstructorOptions[] = [
39
{
0 commit comments