tauri-app-single-instance
Installation
SKILL.md
When to use this skill
ALWAYS use this skill when the user mentions:
- Preventing multiple app instances / 防止多开实例
- Handling second-launch arguments / 处理二次启动参数
- Deep-linking or CLI with single-instance / 深链或 CLI 与单实例联动
Trigger phrases include:
- "single instance", "second launch", "arguments", "deep linking"
- "单实例", "二次启动", "参数", "深链"
How to use this skill
- Enable single-instance and define init behavior
- Capture and route second-launch arguments to the app
- Focus or restore the main window on re-entry
- Validate behavior with deep-linking or CLI scenarios
Outputs
- Single-instance behavior plan / 单实例行为方案
- Second-launch routing checklist / 二次启动路由清单
Scope
- Boundary: Single-instance configuration and runtime behavior
- Key points: Safe argument passing and window focus behavior
References
Keywords
tauri single instance, second launch, args, focus window
Related skills
More from partme-ai/tauri-skills
tauri
Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.
1tauri-app-positioner
Guidance for Tauri v2 positioner plugin with multi-display alignment strategies.
1tauri-app-nfc
Guidance for Tauri v2 NFC plugin with session handling and data validation.
1tauri-build
Guidance for Tauri v2 production builds, signing, and distribution artifacts.
1tauri-app-shell
Guidance for Tauri v2 shell plugin with secure command execution and open behavior.
1tauri-app-store
Guidance for Tauri v2 store plugin with key-value persistence and lazy loading.
1