From 240f9449a62dc8522a31289d94dd7b5baca01482 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Fri, 19 Jul 2024 03:06:26 -0400 Subject: [PATCH] Update constants.ts --- src/main/utils/constants.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/utils/constants.ts b/src/main/utils/constants.ts index bebd6d8e..5f300781 100644 --- a/src/main/utils/constants.ts +++ b/src/main/utils/constants.ts @@ -25,14 +25,8 @@ export const DATA_DIR = process.env.EQUICORD_USER_DATA_DIR ?? ( : join(app.getPath("userData"), "..", "Equicord") ); -export const DATA_DIR2 = process.env.VENCORD_USER_DATA_DIR ?? ( - process.env.DISCORD_USER_DATA_DIR - ? join(process.env.DISCORD_USER_DATA_DIR, "..", "VencordData") - : join(app.getPath("userData"), "..", "Vencord") -); - -export const SETTINGS_DIR = IS_VESKTOP ? join(DATA_DIR2, "settings") : join(DATA_DIR, "settings"); -export const THEMES_DIR = IS_VESKTOP ? join(DATA_DIR2, "themes") : join(DATA_DIR, "themes"); +export const SETTINGS_DIR = join(DATA_DIR, "settings"); +export const THEMES_DIR = join(DATA_DIR, "themes"); export const QUICKCSS_PATH = join(SETTINGS_DIR, "quickCss.css"); export const SETTINGS_FILE = join(SETTINGS_DIR, "settings.json"); export const NATIVE_SETTINGS_FILE = join(SETTINGS_DIR, "native-settings.json");