Auto-fix formatting issues

This commit is contained in:
GitHub Action
2025-08-31 07:18:15 +00:00
parent c68daf6ed6
commit cb1bced974
2 changed files with 5 additions and 2 deletions

5
bin/cli.ts vendored
View File

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

View File

@@ -66,7 +66,7 @@ export async function mergeConfig(
const { platform } = process; const { platform } = process;
// Platform-specific hide_on_close behavior: macOS keeps true, others default to false // Platform-specific hide_on_close behavior: macOS keeps true, others default to false
const platformHideOnClose = hideOnClose ?? (platform === 'darwin'); const platformHideOnClose = hideOnClose ?? platform === 'darwin';
// Set Windows parameters. // Set Windows parameters.
const tauriConfWindowOptions = { const tauriConfWindowOptions = {