mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-21 23:58:52 -05:00
Fix Cloud Sync
This commit is contained in:
parent
6aceb2aae5
commit
03beeca78a
3 changed files with 4 additions and 4 deletions
|
@ -120,7 +120,7 @@ function CloudTab() {
|
||||||
const settings = useSettings(["cloud.authenticated", "cloud.url"]);
|
const settings = useSettings(["cloud.authenticated", "cloud.url"]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SettingsTab title="Vencord Cloud">
|
<SettingsTab title="Equicord Cloud">
|
||||||
<Forms.FormSection title="Cloud Settings" className={Margins.top16}>
|
<Forms.FormSection title="Cloud Settings" className={Margins.top16}>
|
||||||
<Forms.FormText variant="text-md/normal" className={Margins.bottom20}>
|
<Forms.FormText variant="text-md/normal" className={Margins.bottom20}>
|
||||||
Vencord comes with a cloud integration that adds goodies like settings sync across devices.
|
Vencord comes with a cloud integration that adds goodies like settings sync across devices.
|
||||||
|
|
|
@ -129,7 +129,7 @@ if (!IS_VANILLA) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
process.env.DATA_DIR = join(app.getPath("userData"), "..", "Vencord");
|
process.env.DATA_DIR = join(app.getPath("userData"), "..", "Equicord");
|
||||||
|
|
||||||
// Monkey patch commandLine to:
|
// Monkey patch commandLine to:
|
||||||
// - disable WidgetLayering: Fix DevTools context menus https://github.com/electron/electron/issues/38790
|
// - disable WidgetLayering: Fix DevTools context menus https://github.com/electron/electron/issues/38790
|
||||||
|
|
|
@ -21,8 +21,8 @@ import { join } from "path";
|
||||||
|
|
||||||
export const DATA_DIR = process.env.VENCORD_USER_DATA_DIR ?? (
|
export const DATA_DIR = process.env.VENCORD_USER_DATA_DIR ?? (
|
||||||
process.env.DISCORD_USER_DATA_DIR
|
process.env.DISCORD_USER_DATA_DIR
|
||||||
? join(process.env.DISCORD_USER_DATA_DIR, "..", "VencordData")
|
? join(process.env.DISCORD_USER_DATA_DIR, "..", "EquicordData")
|
||||||
: join(app.getPath("userData"), "..", "Vencord")
|
: join(app.getPath("userData"), "..", "Equicord")
|
||||||
);
|
);
|
||||||
export const SETTINGS_DIR = join(DATA_DIR, "settings");
|
export const SETTINGS_DIR = join(DATA_DIR, "settings");
|
||||||
export const THEMES_DIR = join(DATA_DIR, "themes");
|
export const THEMES_DIR = join(DATA_DIR, "themes");
|
||||||
|
|
Loading…
Add table
Reference in a new issue