🐛 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

4
bin/types.ts vendored
View File

@@ -73,8 +73,8 @@ export interface PakeCliOptions {
// Installer language, valid for Windows users, default is en-US
installerLanguage: string;
// Hide window on close instead of exiting, default false
hideOnClose: boolean;
// Hide window on close instead of exiting, platform-specific: true for macOS, false for others
hideOnClose: boolean | undefined;
// Launch app in incognito/private mode, default false
incognito: boolean;