Add Vencord Loading & tray icon

This commit is contained in:
Vendicated
2023-04-04 00:41:52 +02:00
parent 307051141d
commit f45d6482ac
12 changed files with 176 additions and 11 deletions

7
src/main/constants.ts Normal file
View File

@@ -0,0 +1,7 @@
import { app } from "electron";
import { join } from "path";
export const DATA_DIR = process.env.VENCORD_USER_DATA_DIR ?? join(app.getPath("userData"), "VencordDesktop");
export const VENCORD_FILES_DIR = join(DATA_DIR, "vencordDist");
export const USER_AGENT = `VencordDesktop/${app.getVersion()} (https://github.com/Vencord/Electron)`;