💄 增加多分辨率
This commit is contained in:
parent
7101f1c7a1
commit
c8e99a1dc4
@ -59,10 +59,10 @@ async function createWindow() {
|
|||||||
icon: join(process.env.VITE_PUBLIC, "logo/only/16x16.png"),
|
icon: join(process.env.VITE_PUBLIC, "logo/only/16x16.png"),
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
minWidth: 800,
|
minWidth: 640,
|
||||||
minHeight: 600,
|
minHeight: 480,
|
||||||
maxWidth: 800,
|
maxWidth: 1280,
|
||||||
maxHeight: 600,
|
maxHeight: 960,
|
||||||
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