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 single-instance tauri plugin #261

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

aceArt-GmbH
Copy link
Contributor

@aceArt-GmbH aceArt-GmbH commented Jan 5, 2024

Description

Uses official tauri plugin.

Currently, if minimized and hidden, it will show but not unminimiz.
Also after being shown by a second instance, the tray menu will continue to say "Show Cinny" while it should "Hide Cinny" as it is now shown.

cc tauri-apps/plugins-workspace#280

Fixes #210

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link

github-actions bot commented Jan 5, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

src-tauri/src/main.rs Outdated Show resolved Hide resolved
@kfiven
Copy link
Collaborator

kfiven commented Jun 6, 2024

Hi @aceArt-GmbH , Could you please rebase this on top of latest changes in dev?

@aceArt-GmbH
Copy link
Contributor Author

@kfiven rebased it onto main

@kfiven kfiven merged commit 5872ab9 into cinnyapp:main Jun 12, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2024
@aceArt-GmbH aceArt-GmbH deleted the singleInstance branch August 14, 2024 11:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening Cinny launches it when its already running
3 participants