feat: implement launch minimized option

This commit is contained in:
Hachi-R
2024-10-30 15:38:17 -03:00
parent 7af56cd7cc
commit 9e020652c9
4 changed files with 10 additions and 5 deletions

View File

@@ -114,7 +114,9 @@ declare global {
updateUserPreferences: (
preferences: Partial<UserPreferences>
) => Promise<void>;
autoLaunch: (enabled: boolean) => Promise<void>;
autoLaunch: (
autoLaunchProps: { enabled?: boolean; minimized?: boolean }
) => Promise<void>;
authenticateRealDebrid: (apiToken: string) => Promise<RealDebridUser>;
/* Download sources */