mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
fix: LaunchPersistentContextOptions extends LaunchContextOptions
This commit is contained in:
+1
-11
@@ -34,19 +34,9 @@ export interface LaunchContextOptions extends LaunchOptions {
|
|||||||
colorScheme?: "light" | "dark" | "no-preference";
|
colorScheme?: "light" | "dark" | "no-preference";
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LaunchPersistentContextOptions extends LaunchOptions {
|
export interface LaunchPersistentContextOptions extends LaunchContextOptions {
|
||||||
/** Path to user data directory for persistent profile. */
|
/** Path to user data directory for persistent profile. */
|
||||||
userDataDir: string;
|
userDataDir: string;
|
||||||
/** Custom user agent string. */
|
|
||||||
userAgent?: string;
|
|
||||||
/** Viewport size. */
|
|
||||||
viewport?: { width: number; height: number };
|
|
||||||
/** Browser locale for context, e.g. "en-US". */
|
|
||||||
locale?: string;
|
|
||||||
/** Timezone for context, e.g. "America/New_York". */
|
|
||||||
timezoneId?: string;
|
|
||||||
/** Color scheme preference. */
|
|
||||||
colorScheme?: "light" | "dark" | "no-preference";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BinaryInfo {
|
export interface BinaryInfo {
|
||||||
|
|||||||
Reference in New Issue
Block a user