Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple instances can run at the same time #148

Open
EranBoudjnah opened this issue Jun 6, 2023 · 3 comments
Open

Multiple instances can run at the same time #148

EranBoudjnah opened this issue Jun 6, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@EranBoudjnah
Copy link

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:

  1. Launch the app
  2. Launch it again
  3. 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.
image

Aerial Version
1.2.0

@EranBoudjnah EranBoudjnah added the bug Something isn't working label Jun 6, 2023
@OrangeJedi
Copy link
Owner

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.

@VasilisPat
Copy link
Contributor

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.

@ThinkSalat
Copy link

I've noticed that mine opens 3 instances at startup. No idea why as I only have one install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To-Do Bugs
Development

No branches or pull requests

4 participants