Auto-fix formatting issues
This commit is contained in:
5
bin/cli.ts
vendored
5
bin/cli.ts
vendored
@@ -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(),
|
||||
)
|
||||
|
||||
2
bin/helpers/merge.ts
vendored
2
bin/helpers/merge.ts
vendored
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user