💄 窗口最小为800x600
This commit is contained in:
parent
df23ec676c
commit
4fc456f3f7
@ -52,6 +52,8 @@ async function createWindow() {
|
|||||||
win = new BrowserWindow({
|
win = new BrowserWindow({
|
||||||
title: "Frpc Desktop",
|
title: "Frpc Desktop",
|
||||||
icon: join(process.env.VITE_PUBLIC, "logo/16x16.png"),
|
icon: join(process.env.VITE_PUBLIC, "logo/16x16.png"),
|
||||||
|
minWidth: 800,
|
||||||
|
minHeight: 600,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload,
|
preload,
|
||||||
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
||||||
|
Loading…
Reference in New Issue
Block a user