Skip to content

Extract createMainWindow and fix activate handler#5

Merged
saeedvaziry merged 1 commit intomainfrom
fix/reusable-create-main-window
Feb 25, 2026
Merged

Extract createMainWindow and fix activate handler#5
saeedvaziry merged 1 commit intomainfrom
fix/reusable-create-main-window

Conversation

@saeedvaziry
Copy link
Copy Markdown
Member

  • Extract window creation logic into a reusable createMainWindow exported function
  • Update tray's "Show Window" to call createMainWindow directly instead of manually checking and showing
  • Fix activate event to reopen the main window when the app is already running

Fixes #2

@saeedvaziry saeedvaziry merged commit a30085f into main Feb 25, 2026
@saeedvaziry saeedvaziry deleted the fix/reusable-create-main-window branch February 25, 2026 15:34
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.

Show window doesn't work if the main window closed

1 participant