electron-install-persistence
Installation
SKILL.md
Electron Install Persistence
Use this skill when a payload runs inside Electron but exits after install, update completion, or user close actions.
Focus Areas
process.argvhandling for--squirrel-*- install/update continuation behavior
- updater-parent termination or continuation logic
- quit and close suppression
- hidden
BrowserWindowkeepalive patterns - background execution without visible UI
Workflow
- Identify install/update entrypoints and
--squirrel-*handling in the main process. - Preserve or reproduce the continuation pattern that keeps the app alive after install completes.
- If the app requires a live window to remain resident, create a hidden/background
BrowserWindowand prevent close-driven teardown. - Neutralize only the quit/close paths that prematurely terminate residency.
- Verify that post-install launch, callback continuity, and background residency all survive the installer flow.