2023-04-09 20:49:50 +00:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: GPL-3.0
|
2023-07-13 17:03:13 +00:00
|
|
|
* Vesktop, a desktop app aiming to give you a snappier Discord Experience
|
2023-04-09 20:49:50 +00:00
|
|
|
* Copyright (c) 2023 Vendicated and Vencord contributors
|
|
|
|
*/
|
|
|
|
|
2023-04-09 03:04:49 +00:00
|
|
|
import type { Rectangle } from "electron";
|
|
|
|
|
2023-04-08 22:49:47 +00:00
|
|
|
export interface Settings {
|
|
|
|
discordBranch?: "stable" | "canary" | "ptb";
|
2023-04-09 00:26:31 +00:00
|
|
|
vencordDir?: string;
|
2023-08-06 22:23:27 +00:00
|
|
|
transparencyOption?: "none" | "mica" | "tabbed" | "acrylic";
|
2023-04-10 17:12:58 +00:00
|
|
|
tray?: boolean;
|
2023-04-09 03:57:45 +00:00
|
|
|
minimizeToTray?: boolean;
|
2023-08-06 22:23:27 +00:00
|
|
|
openLinksWithElectron?: boolean;
|
2023-04-20 02:26:56 +00:00
|
|
|
staticTitle?: boolean;
|
2023-07-28 19:54:17 +00:00
|
|
|
enableMenu?: boolean;
|
2023-11-24 22:14:23 +00:00
|
|
|
disableSmoothScroll?: boolean;
|
2024-01-02 04:36:50 +00:00
|
|
|
disableHardwareAcceleration?: boolean;
|
2023-06-09 20:47:59 +00:00
|
|
|
arRPC?: boolean;
|
2023-06-23 15:20:54 +00:00
|
|
|
appBadge?: boolean;
|
2023-08-06 22:23:27 +00:00
|
|
|
discordWindowsTitleBar?: boolean;
|
2023-06-21 12:39:41 +00:00
|
|
|
|
2023-08-06 22:23:27 +00:00
|
|
|
maximized?: boolean;
|
|
|
|
minimized?: boolean;
|
|
|
|
windowBounds?: Rectangle;
|
|
|
|
disableMinSize?: boolean;
|
|
|
|
|
2023-10-22 15:10:25 +00:00
|
|
|
checkUpdates?: boolean;
|
2023-08-06 22:23:27 +00:00
|
|
|
skippedUpdate?: string;
|
2023-06-21 12:39:41 +00:00
|
|
|
firstLaunch?: boolean;
|
2023-10-14 03:04:44 +00:00
|
|
|
|
|
|
|
splashTheming?: boolean;
|
|
|
|
splashColor?: string;
|
|
|
|
splashBackground?: string;
|
2023-10-31 21:14:30 +00:00
|
|
|
|
|
|
|
steamOSLayoutVersion?: number;
|
2023-04-08 22:49:47 +00:00
|
|
|
}
|