Aerial
Aerial copied to clipboard
Multiple instances can run at the same time
Describe the bug Launching the app several times would lead to multiple instances being run, observable with their tray icons.
To Reproduce Steps to reproduce the behavior:
- Launch the app
- Launch it again
- Observe two tray icons
Expected behavior Only a single instance exists at any given time. Subsequent launches should recognize it and not start.
Screenshots
If applicable, add screenshots to help explain your problem.
Aerial Version 1.2.0
This is a known issue that I have had. Thanks for opening the issue. I am looking at ways to fix it, I will post any updates here.
A code example to prevent this from happening, using the electron native requestSingleInstanceLock method.
Also I recommend opening the config menu when users try to open a second instance of the app, if it is already running.
I've noticed that mine opens 3 instances at startup. No idea why as I only have one install