Add Vencord Loading & tray icon
This commit is contained in:
7
src/main/constants.ts
Normal file
7
src/main/constants.ts
Normal 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)`;
|
||||
Reference in New Issue
Block a user