2023-04-09 22:49:50 +02:00
|
|
|
/*
|
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
|
2025-02-07 04:16:15 +01:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2023-04-09 22:49:50 +02:00
|
|
|
*/
|
|
|
|
|
|
2023-10-14 11:04:44 +08:00
|
|
|
import "./themedSplash";
|
2025-02-02 03:17:37 +01:00
|
|
|
import "./ipcCommands";
|
2025-02-05 14:00:40 -05:00
|
|
|
import "./appBadge";
|
|
|
|
|
import "./patches";
|
|
|
|
|
import "./fixes";
|
2025-02-02 03:17:37 +01:00
|
|
|
import "./arrpc";
|
2023-04-05 05:19:48 +02:00
|
|
|
|
2023-04-09 01:20:00 +02:00
|
|
|
export * as Components from "./components";
|
2023-06-30 18:57:28 +02:00
|
|
|
|
2024-02-18 07:49:42 -08:00
|
|
|
import SettingsUi from "./components/settings/Settings";
|
2025-02-06 04:00:14 +01:00
|
|
|
import { VesktopLogger } from "./logger";
|
2023-06-09 22:47:59 +02:00
|
|
|
import { Settings } from "./settings";
|
|
|
|
|
export { Settings };
|
|
|
|
|
|
2025-02-18 15:28:41 +01:00
|
|
|
import type SettingsPlugin from "@vencord/types/plugins/_core/settings";
|
|
|
|
|
|
2025-02-06 04:00:14 +01:00
|
|
|
VesktopLogger.log("read if cute :3");
|
|
|
|
|
VesktopLogger.log("Vesktop v" + VesktopNative.app.getVersion());
|
|
|
|
|
|
2025-02-18 15:28:41 +01:00
|
|
|
const customSettingsSections = (Vencord.Plugins.plugins.Settings as any as typeof SettingsPlugin).customSections;
|
2023-08-16 02:02:16 +02:00
|
|
|
|
|
|
|
|
customSettingsSections.push(() => ({
|
|
|
|
|
section: "Vesktop",
|
|
|
|
|
label: "Vesktop Settings",
|
|
|
|
|
element: SettingsUi,
|
|
|
|
|
className: "vc-vesktop-settings"
|
|
|
|
|
}));
|