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

Add a Mutex to the manual software to avoid multiple instances being opened #460

Open
PeterBuddAvo opened this issue Sep 5, 2023 · 1 comment

Comments

@PeterBuddAvo
Copy link
Contributor

Currently it is possible to open multiple instances of the manual. This is a particular problem on consoles with hardware help buttons where you can keep opening up new manuals and not closing old ones. It should probably only be possible to open one instance at a time.

@simnedonadni
Copy link
Collaborator

Take a look at this "activating the window of primary instance when a second instance starts": https://www.electronjs.org/docs/latest/api/app#apprequestsingleinstancelockadditionaldata

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

No branches or pull requests

2 participants