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

Adds Single Instance code #466

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Conversation

warrenbuckley
Copy link
Owner

This adds the code from the ElectronJS API docs to ensure only one instance of the application can be running and if more applications are attempted to be opened it will quit them and it will focus the already open app.

https://www.electronjs.org/docs/latest/api/app#apprequestsingleinstancelockadditionaldata

@warrenbuckley warrenbuckley added the enhancement New feature or request label Feb 2, 2022
@warrenbuckley warrenbuckley merged commit ca93d62 into dev Feb 2, 2022
@warrenbuckley warrenbuckley deleted the feature/single-instance-only branch February 2, 2022 11:47
@warrenbuckley warrenbuckley added the minor A new MINOR feature - Release Drafter will bump draft version to a NEW minor label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor A new MINOR feature - Release Drafter will bump draft version to a NEW minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant