Skip to content

feat(single-instance): enforce app to run only one instance at a time#94

Merged
tonyantony300 merged 1 commit intotonyantony300:mainfrom
lordaimer:feature/single-instance
Jan 26, 2026
Merged

feat(single-instance): enforce app to run only one instance at a time#94
tonyantony300 merged 1 commit intotonyantony300:mainfrom
lordaimer:feature/single-instance

Conversation

@lordaimer
Copy link
Contributor

DESCRIPTION

This PR enforces that only a single instance of the app can be ran at a time.

CHANGES

  • Add new tauri-plugin-single-instance dependency
  • Show, Unminimize and Set Focus on existing window if user tries to run the executable again while an instance is already running

RELATED ISSUES

Add any related issues here

Copy link
Owner

@tonyantony300 tonyantony300 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feature change looks good 👍

However, the package-lock.json includes a very large diff that doesn’t seem related to the single-instance change.

Could you please revert the lockfile changes or regenerate it using the project’s expected Node/npm version? @lordaimer @ManasayJoseph

… using tauri-plugin-single-instance dependency

- Add new tauri-plugin-single-instance dependency
- Show, Unminimize and Set Focus on existing window if user tries to run the executable again
@lordaimer lordaimer force-pushed the feature/single-instance branch from 9c4e14e to da5b286 Compare January 26, 2026 08:46
@lordaimer
Copy link
Contributor Author

@tonyantony300 fixed!

@tonyantony300 tonyantony300 merged commit f5f9651 into tonyantony300:main Jan 26, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants