Loading pkgs/by-name/ve/vesktop/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -24,13 +24,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "vesktop"; version = "1.6.0"; version = "1.6.1"; src = fetchFromGitHub { owner = "Vencord"; repo = "Vesktop"; rev = "v${finalAttrs.version}"; hash = "sha256-kzJsSjaTH6HtBfhEtX4NLJS96zgYr0/Us6H0tDJvb9A="; hash = "sha256-ZFAsyH+5duKerZissOR/lESLetqqEMLk86msLlQO1xU="; }; pnpmDeps = pnpm_10.fetchDeps { Loading @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { patches ; fetcherVersion = 2; hash = "sha256-Vn+Imarp1OTPfe/PoMgFHU5eWnye5Oa+qoGZaTxOUmU="; hash = "sha256-7fYD4lTSLCMOa+CqGlL45Mjw6qMfIJddPcRF5/dGGrk="; }; nativeBuildInputs = [ Loading pkgs/by-name/ve/vesktop/use_system_vencord.patch +9 −12 Original line number Diff line number Diff line diff --git a/src/main/constants.ts b/src/main/constants.ts index 40d91a5..7b46bbf 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -49,7 +49,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); // as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised export const VENCORD_FILES_DIR = (require("./settings") as typeof import("./settings")).State.store.vencordDir || - join(SESSION_DATA_DIR, "vencordFiles"); + "@vencord@"; export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Vencord/Vesktop)`; diff --git a/src/main/vencordFilesDir.ts b/src/main/vencordFilesDir.ts index 8ef9ab8..ac376e0 100644 --- a/src/main/vencordFilesDir.ts +++ b/src/main/vencordFilesDir.ts @@ -10,4 +10,4 @@ import { SESSION_DATA_DIR } from "./constants"; import { State } from "./settings"; // this is in a separate file to avoid circular dependencies -export const VENCORD_FILES_DIR = State.store.vencordDir || join(SESSION_DATA_DIR, "vencordFiles"); +export const VENCORD_FILES_DIR = State.store.vencordDir || "@vencord@"; Loading
pkgs/by-name/ve/vesktop/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -24,13 +24,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "vesktop"; version = "1.6.0"; version = "1.6.1"; src = fetchFromGitHub { owner = "Vencord"; repo = "Vesktop"; rev = "v${finalAttrs.version}"; hash = "sha256-kzJsSjaTH6HtBfhEtX4NLJS96zgYr0/Us6H0tDJvb9A="; hash = "sha256-ZFAsyH+5duKerZissOR/lESLetqqEMLk86msLlQO1xU="; }; pnpmDeps = pnpm_10.fetchDeps { Loading @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { patches ; fetcherVersion = 2; hash = "sha256-Vn+Imarp1OTPfe/PoMgFHU5eWnye5Oa+qoGZaTxOUmU="; hash = "sha256-7fYD4lTSLCMOa+CqGlL45Mjw6qMfIJddPcRF5/dGGrk="; }; nativeBuildInputs = [ Loading
pkgs/by-name/ve/vesktop/use_system_vencord.patch +9 −12 Original line number Diff line number Diff line diff --git a/src/main/constants.ts b/src/main/constants.ts index 40d91a5..7b46bbf 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -49,7 +49,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); // as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised export const VENCORD_FILES_DIR = (require("./settings") as typeof import("./settings")).State.store.vencordDir || - join(SESSION_DATA_DIR, "vencordFiles"); + "@vencord@"; export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Vencord/Vesktop)`; diff --git a/src/main/vencordFilesDir.ts b/src/main/vencordFilesDir.ts index 8ef9ab8..ac376e0 100644 --- a/src/main/vencordFilesDir.ts +++ b/src/main/vencordFilesDir.ts @@ -10,4 +10,4 @@ import { SESSION_DATA_DIR } from "./constants"; import { State } from "./settings"; // this is in a separate file to avoid circular dependencies -export const VENCORD_FILES_DIR = State.store.vencordDir || join(SESSION_DATA_DIR, "vencordFiles"); +export const VENCORD_FILES_DIR = State.store.vencordDir || "@vencord@";