update main window default size

This commit is contained in:
geekgeekrun
2024-03-29 09:38:44 +08:00
parent 93072b2946
commit 0f7d0be266
+2 -2
View File
@@ -6,8 +6,8 @@ export let mainWindow: BrowserWindow | null = null
export function createMainWindow(): void { export function createMainWindow(): void {
// Create the browser window. // Create the browser window.
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: 900, width: 1024,
height: 670, height: 640,
show: false, show: false,
autoHideMenuBar: true, autoHideMenuBar: true,
...(process.platform === 'linux' ...(process.platform === 'linux'