misc/ upgrade Electron 10
This commit is contained in:
4
main.ts
4
main.ts
@@ -20,6 +20,7 @@ function createWindow(): BrowserWindow {
|
||||
webPreferences: {
|
||||
nodeIntegration: true,
|
||||
allowRunningInsecureContent: (serve) ? true : false,
|
||||
enableRemoteModule : false // true if you want to use remote module in renderer context (ie. Angular)
|
||||
},
|
||||
});
|
||||
|
||||
@@ -52,9 +53,6 @@ function createWindow(): BrowserWindow {
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
app.allowRendererProcessReuse = true;
|
||||
|
||||
// This method will be called when Electron has finished
|
||||
// initialization and is ready to create browser windows.
|
||||
// Some APIs can only be used after this event occurs.
|
||||
|
||||
Reference in New Issue
Block a user