fix optional array

This commit is contained in:
codetypes committed 2025-04-11 11:40:37 +08:00
1 parent 45624c6869
commit 8198c19c7c
3 files changed
+8 -5

No files matched your search

+1
View File
@@ -137,6 +137,7 @@ async function createWindow(projectPath?: string) {
trafficLightPosition: { x: 10, y: 10 },
webPreferences: {
preload,
webSecurity: false,
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
// Consider using contextBridge.exposeInMainWorld
// Read more on https://www.electronjs.org/docs/latest/tutorial/context-isolation