You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This interferes with the getter isElectron in ElectronService. isElectron is used to determine whether to perform the Electron imports, including remote. If your project is intended to only run in Electron, you may remove the isElectron check for the Electron imports:
Describe the bug
Making any call to the remote object fails. Running
console.log(remote)
returnsundefined
.To Reproduce
Steps to reproduce the behavior:
ElectronService
, add a call to theremote
object. For example,this.remote.BrowserWindow.getFocusedWindow().minimize();
Expected behavior
remote
should be defined, and theminimize()
example above should minimize the window.The text was updated successfully, but these errors were encountered: