From cb1bced974e4d21c501f7d7a0345c58e6e41487f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 31 Aug 2025 07:18:15 +0000 Subject: [PATCH] Auto-fix formatting issues --- bin/cli.ts | 5 ++++- bin/helpers/merge.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/cli.ts b/bin/cli.ts index 9d63f9f..658b202 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -125,7 +125,10 @@ program .hideHelp(), ) .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) .hideHelp(), ) diff --git a/bin/helpers/merge.ts b/bin/helpers/merge.ts index 1d630ff..3cceb37 100644 --- a/bin/helpers/merge.ts +++ b/bin/helpers/merge.ts @@ -66,7 +66,7 @@ export async function mergeConfig( const { platform } = process; // 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. const tauriConfWindowOptions = {