From c8e99a1dc44903707213c80badf0c9ee417fac4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Fri, 16 Aug 2024 23:02:03 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E5=A2=9E=E5=8A=A0=E5=A4=9A?= =?UTF-8?q?=E5=88=86=E8=BE=A8=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/main/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/electron/main/index.ts b/electron/main/index.ts index f042efe..283ec50 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -59,10 +59,10 @@ async function createWindow() { icon: join(process.env.VITE_PUBLIC, "logo/only/16x16.png"), width: 800, height: 600, - minWidth: 800, - minHeight: 600, - maxWidth: 800, - maxHeight: 600, + minWidth: 640, + minHeight: 480, + maxWidth: 1280, + maxHeight: 960, webPreferences: { preload, // Warning: Enable nodeIntegration and disable contextIsolation is not secure in production