ThorstenHans/ngx-electron

this._electronService.shell.openPath is not a function

Opened this issue · 0 comments

I'm trying to bind this._electronService.shell.openPath('/location/to/folder') to a button, but when I click it it tells me: this._electronService.shell.openPath is not a function(...). Thought it might be something I did wrong with the injection, but I replaced .openPath() with .openExternal('https://github.com') and that worked fine. Been scratching my head on this for a while now. Anybody any idea?

Thanks in advance!