From 304610aceee07f2f1166fc0281e9d51adf7a9781 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Fri, 31 Oct 2025 12:04:00 +0100 Subject: [PATCH 1/2] vesktop: 1.6.0 -> 1.6.1 --- pkgs/by-name/ve/vesktop/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ve/vesktop/package.nix b/pkgs/by-name/ve/vesktop/package.nix index d230d55e1cb2..b31f5a78d051 100644 --- a/pkgs/by-name/ve/vesktop/package.nix +++ b/pkgs/by-name/ve/vesktop/package.nix @@ -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 { @@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: { patches ; fetcherVersion = 2; - hash = "sha256-Vn+Imarp1OTPfe/PoMgFHU5eWnye5Oa+qoGZaTxOUmU="; + hash = "sha256-7fYD4lTSLCMOa+CqGlL45Mjw6qMfIJddPcRF5/dGGrk="; }; nativeBuildInputs = [ From fcc20fbb35d60546496f93f6b836bca334b8af31 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Fri, 31 Oct 2025 12:04:15 +0100 Subject: [PATCH 2/2] vesktop: fix use_system_vencord.patch --- .../ve/vesktop/use_system_vencord.patch | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/ve/vesktop/use_system_vencord.patch b/pkgs/by-name/ve/vesktop/use_system_vencord.patch index 99ac643ef653..a9df59da9268 100644 --- a/pkgs/by-name/ve/vesktop/use_system_vencord.patch +++ b/pkgs/by-name/ve/vesktop/use_system_vencord.patch @@ -1,13 +1,10 @@ -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@";