💄 窗口最小为800x600

This commit is contained in:
刘嘉伟 2024-08-05 22:36:57 +08:00
parent df23ec676c
commit 4fc456f3f7

View File

@ -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