misc/ upgrade Electron 10
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user