-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json.d.ts
More file actions
100 lines (97 loc) · 2.51 KB
/
Copy pathsettings.json.d.ts
File metadata and controls
100 lines (97 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
export interface SettingsJson {
/**
* Whether Discord minimizes to the tray when closed
* Controlled by the "Minimize Discord to System Tray" option
*/
MINIMIZE_TO_TRAY: boolean;
/**
* Whether Discord minimizes to the tray at startup
* Controlled by the "Start Discord Minimized" option
*/
START_MINIMIZED: boolean;
/**
* Whether discord will attempt to auto update
* @default true
*/
SKIP_HOST_UPDATE: boolean;
SKIP_MODULE_UPDATE: boolean;
/**
* @default [MacOS: true]
*/
USE_NEW_UPDATER: boolean;
/**
* @default true
*/
offloadAdmControls: boolean;
/**
* @default [Linux: true]
*/
openH264Enabled: boolean;
/**
* Hex color of the theme the Discord client is using
* Can be a custom color with nitro, or preset from a theme.
* * **Note:** Discord will ignore manual updates to this variable
* @default #000000
*/
BACKGROUND_COLOR: string;
/**
* @default [Windows: true]
*/
DISCORD_TTI_DNSTCP_WARMUP: boolean;
/**
* @default [Windows: true, MacOS: true]
*/
DESKTOP_TTI_EARLY_UPDATE_CHECK: boolean;
/**
* unsure if this is different from accepted command line args?
* @link https://peter.sh/experiments/chromium-command-line-switches/
*/
chromiumSwitches: {};
/**
* Whether hardware acceleration is enabled
* Controlled by the "Enable Hardware Acceleration" setting
* @default true
*/
enableHardwareAcceleration: boolean;
/** Whether the window is maximized */
IS_MAXIMIZED: boolean;
/** Whether the window is minimized */
IS_MINIMIZED: boolean;
/** Location and size of the Discord window */
WINDOW_BOUNDS: {
/** Horizontal position of the window */
x: number;
/** Vertical position of the window */
y: number;
/** Width of the window in pixels */
width: number;
/** Height of the window in pixels */
height: number;
};
OPEN_ON_STARTUP: boolean;
MIN_WIDTH: number;
MIN_HEIGHT: number;
trayBalloonShown: boolean;
asyncVideoInputDeviceInit: boolean;
/**
* Points to the respective endpoint for Discord.
* ptb has ptb.discord.com, etc.
* @default "https://discord.com/app"
*/
WEBAPP_ENDPOINT: string;
/**
* @default "experimental"
*/
audioSubsystem: "experimental";
}
export interface OpenAsarSettingsJson extends SettingsJson {
/**
* OpenASAR specific settings. Only applies if you are using OpenASAR
*/
openasar: {
/** Whether setup has been completed */
setup: boolean;
/** Quickstart toggle */
quickstart: boolean;
};
}