fix optional array
This commit is contained in:
1 parent
45624c6869
commit
8198c19c7c
3 files changed
+8
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user