Skip to content

macOS: change window close behavior, like other macOS native App #999

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

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

geminiwen
Copy link
Contributor

I test on macOS amd64, this commit makes feishin behavior much more like a native macOS App.

When "close" window with "minimize to tray" enabled, the window should just hide rather than close, and should not mark the "exitFromTray" to true.

I also moved the 'renderer-save-queue' after it registered the 'player-save-queue' event.

Copy link

vercel bot commented Jul 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
feishin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 6, 2025 1:46pm

@geminiwen geminiwen changed the title macOS: change window close behavior, like other macOS App macOS: change window close behavior, like other macOS native App Jul 6, 2025
@jeffvli jeffvli merged commit 0b7d4bf into jeffvli:development Jul 8, 2025
4 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.

2 participants