🐛 Optimize the multi-platform experience of hide on close

This commit is contained in:
Tw93
2025-08-31 15:02:25 +08:00
parent a7f1fa1b40
commit 85943b8134
9 changed files with 54 additions and 20 deletions

2
bin/cli.ts vendored
View File

@@ -125,7 +125,7 @@ program
.hideHelp(),
)
.addOption(
new Option('--hide-on-close', 'Hide window on close instead of exiting')
new Option('--hide-on-close', 'Hide window on close instead of exiting (default: true for macOS, false for others)')
.default(DEFAULT.hideOnClose)
.hideHelp(),
)