程序启动时,初始窗口大小调整为1024*768

This commit is contained in:
Allen 2025-05-11 11:58:17 +08:00
parent bca789a017
commit 346f88d21e

View File

@ -90,8 +90,8 @@ ipcMain.handle('set-webview-cookie', async (event, url: string, cookie: string)
const createWindow = () => {
// Create the browser window.
const win = new BrowserWindow({
minWidth: 800,
minHeight: 600,
minWidth: 1024,
minHeight: 768,
autoHideMenuBar: true,
center: true,
//resizable: false,