This commit is contained in:
thororen1234 2024-07-13 03:33:13 -04:00
parent ab2ef5b3d2
commit cf889331e7

View file

@ -19,7 +19,7 @@
import { app } from "electron"; import { app } from "electron";
import { join } from "path"; 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 process.env.DISCORD_USER_DATA_DIR
? join(process.env.DISCORD_USER_DATA_DIR, "..", "EquicordData") ? join(process.env.DISCORD_USER_DATA_DIR, "..", "EquicordData")
: join(app.getPath("userData"), "..", "Equicord") : join(app.getPath("userData"), "..", "Equicord")