How do I prevent multiple instances of the same application built with electron?


#1

I tried many things, the solution on https://github.com/atom/electron/issues/648 did not work and I did not know how to use it as windows gave me many errors which I could not understand.
Any help is appreciated.

npm libraries I tried and did not work:
Electron Single Instance
monogamous

Please help :frowning:

Thank you,
Regards.


#2

This is a duplicate of this very recent topic:

There are some suggestions in there on how to implement this. Please continue the conversation there.

We like to unify similar discussions under one topic so that people don’t have to read a bunch of different threads to get the whole story. Closing this topic as duplicate.


#3