Files
Vesktop/src/renderer/index.ts

34 lines
970 B
TypeScript
Raw Normal View History

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
* SPDX-License-Identifier: GPL-3.0-or-later
2023-04-09 22:49:50 +02:00
*/
import "./themedSplash";
2025-02-02 03:17:37 +01:00
import "./ipcCommands";
import "./appBadge";
import "./patches";
import "./fixes";
2025-02-02 03:17:37 +01:00
import "./arrpc";
export * as Components from "./components";
2023-06-30 18:57:28 +02: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;
customSettingsSections.push(() => ({
section: "Vesktop",
label: "Vesktop Settings",
element: SettingsUi,
className: "vc-vesktop-settings"
}));