From cf889331e772d341a77dd9cdc5a5d1fd80658571 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 13 Jul 2024 03:33:13 -0400 Subject: [PATCH] fix var --- src/main/utils/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/utils/constants.ts b/src/main/utils/constants.ts index b200e37b..fa1e3525 100644 --- a/src/main/utils/constants.ts +++ b/src/main/utils/constants.ts @@ -19,7 +19,7 @@ import { app } from "electron"; import { join } from "path"; -export const DATA_DIR = process.env.VENCORD_USER_DATA_DIR ?? ( +export const DATA_DIR = process.env.EQUICORD_USER_DATA_DIR ?? ( process.env.DISCORD_USER_DATA_DIR ? join(process.env.DISCORD_USER_DATA_DIR, "..", "EquicordData") : join(app.getPath("userData"), "..", "Equicord")