ref/ set default angular eslint rules
This commit is contained in:
@@ -30,7 +30,8 @@ export class ElectronService {
|
||||
this.childProcess = window.require('child_process');
|
||||
this.fs = window.require('fs');
|
||||
|
||||
// If you want to use a NodeJS 3rd party deps in Renderer process (like @electron/remote), it must be declared in dependencies of both package.json (in root and app folders)
|
||||
// If you want to use a NodeJS 3rd party deps in Renderer process (like @electron/remote),
|
||||
// it must be declared in dependencies of both package.json (in root and app folders)
|
||||
// If you want to use remote object in renderer process, please set enableRemoteModule to true in main.ts
|
||||
this.remote = window.require('@electron/remote');
|
||||
console.log('remote - globalShortcut', this.remote.globalShortcut);
|
||||
|
||||
Reference in New Issue
Block a user