Files
Vesktop/src/shared/settings.d.ts

30 lines
780 B
TypeScript
Raw Normal View History

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