add --maximize and --start-to-tray options

This commit is contained in:
Tw93
2025-10-17 18:00:28 +08:00
parent fcf807a88d
commit fabebdbd99
12 changed files with 109 additions and 11 deletions

6
bin/types.ts vendored
View File

@@ -24,6 +24,9 @@ export interface PakeCliOptions {
// Whether the window can be fullscreen, default false
fullscreen: boolean;
// Start window maximized, default false
maximize: boolean;
// Enable immersive header, default false.
hideTitleBar: boolean;
@@ -90,6 +93,9 @@ export interface PakeCliOptions {
// Allow multiple instances, default false (single instance)
multiInstance: boolean;
// Start app minimized to tray, default false
startToTray: boolean;
}
export interface PakeAppOptions extends PakeCliOptions {