misc/ upgrade Electron 10

This commit is contained in:
Maxime GRIS
2020-08-30 13:57:15 +02:00
parent f41ce65e79
commit b71c514dcc
4 changed files with 34 additions and 34 deletions

View File

@@ -25,7 +25,9 @@ export class ElectronService {
if (this.isElectron) {
this.ipcRenderer = window.require('electron').ipcRenderer;
this.webFrame = window.require('electron').webFrame;
this.remote = window.require('electron').remote;
// If you wan to use remote object, pleanse set enableRemoteModule to true in main.ts
// this.remote = window.require('electron').remote;
this.childProcess = window.require('child_process');
this.fs = window.require('fs');