Skip to content

Enforce single instance - #87

Merged
noFAYZ merged 1 commit into
mainfrom
fix/single-instance-lock
Aug 13, 2026
Merged

Enforce single instance#87
noFAYZ merged 1 commit into
mainfrom
fix/single-instance-lock

Conversation

@noFAYZ

@noFAYZ noFAYZ commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Adds tauri-plugin-single-instance, registered first in the plugin chain (per its own docs — it decides whether this process keeps running at all, so it has to win the race against everything else).

A second launch attempt now runs its callback in the original process and calls the same show_main_window helper the tray's "Show Zuno" already uses (show + unminimize + focus) — so it behaves identically whether the window is on-screen or hidden to tray, and a second launch never gets its own independent process.

Closes #76

A second launch now refocuses the running instance instead of
starting an independent process, reusing the same show/unminimize/
focus helper the tray icon's "Show Zuno" already uses — so it
behaves the same whether the window is on-screen or hidden to tray.

Closes #76
@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zuno Ready Ready Preview Aug 13, 2026 8:01am

@noFAYZ
noFAYZ merged commit 2068af3 into main Aug 13, 2026
9 of 10 checks 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.

App allows multiple instances to run simultaneously (missing single-instance lock)

1 participant