From 4fc456f3f739426301542ef2c0503858af2d9f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Mon, 5 Aug 2024 22:36:57 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E7=AA=97=E5=8F=A3=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E4=B8=BA800x600?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/main/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electron/main/index.ts b/electron/main/index.ts index 0531980..cd278fd 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -52,6 +52,8 @@ async function createWindow() { win = new BrowserWindow({ title: "Frpc Desktop", icon: join(process.env.VITE_PUBLIC, "logo/16x16.png"), + minWidth: 800, + minHeight: 600, webPreferences: { preload, // Warning: Enable nodeIntegration and disable contextIsolation is not secure in production