程序启动时,初始窗口大小调整为1024*768
This commit is contained in:
parent
bca789a017
commit
346f88d21e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user