Loadextension part of code has to be called once the app is ready.
From the electron doc: Note: This API cannot be called before the ready event of the app module is emitted.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello, Jasmin. Thanks for the detailed post.
Minor correction:
Loadextension part of code has to be called once the app is ready.
From the electron doc:
Note: This API cannot be called before the ready event of the app module is emitted.