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")