Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

this._electronService.shell.openPath is not a function #59

Open
ZentoDH opened this issue Feb 24, 2021 · 0 comments
Open

this._electronService.shell.openPath is not a function #59

ZentoDH opened this issue Feb 24, 2021 · 0 comments

Comments

@ZentoDH
Copy link

ZentoDH commented Feb 24, 2021

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant