vesktop: 1.5.2 -> 1.5.3

authored by Joshua Manchester and committed by Yaya bedbc6e3 655a58a7

+21 -23
+10 -10
pkgs/by-name/ve/vesktop/disable_update_checking.patch
··· 1 - diff --git a/src/updater/main.ts b/src/updater/main.ts 2 - index 059afb9..274802e 100644 3 - --- a/src/updater/main.ts 4 - +++ b/src/updater/main.ts 5 - @@ -77,6 +77,7 @@ function isOutdated(oldVersion: string, newVersion: string) { 6 } 7 8 - export async function checkUpdates() { 9 - + return; 10 - if (Settings.store.checkUpdates === false) return; 11 - 12 - try {
··· 1 + diff --git a/src/main/index.ts b/src/main/index.ts 2 + index 2e0d6f7..1108c0f 100644 3 + --- a/src/main/index.ts 4 + +++ b/src/main/index.ts 5 + @@ -20,7 +20,6 @@ import { isDeckGameMode } from "./utils/steamOS"; 6 + if (IS_DEV) { 7 + require("source-map-support").install(); 8 + } else { 9 + - autoUpdater.checkForUpdatesAndNotify(); 10 } 11 12 + // Make the Vencord files use our DATA_DIR
+6 -6
pkgs/by-name/ve/vesktop/package.nix
··· 13 pipewire, 14 libpulseaudio, 15 autoPatchelfHook, 16 - pnpm, 17 nodejs, 18 withTTS ? true, 19 withMiddleClickScroll ? false, ··· 23 }: 24 stdenv.mkDerivation (finalAttrs: { 25 pname = "vesktop"; 26 - version = "1.5.2"; 27 28 src = fetchFromGitHub { 29 owner = "Vencord"; 30 repo = "Vesktop"; 31 rev = "v${finalAttrs.version}"; 32 - hash = "sha256-cZOyydwpIW9Xq716KVi1RGtSlgVnOP3w8vXDwouS70E="; 33 }; 34 35 - pnpmDeps = pnpm.fetchDeps { 36 inherit (finalAttrs) 37 pname 38 version 39 src 40 patches 41 ; 42 - hash = "sha256-PogE8uf3W5cKSCqFHMz7FOvT7ONUP4FiFWGBgtk3UC8="; 43 }; 44 45 nativeBuildInputs = 46 [ 47 nodejs 48 - pnpm.configHook 49 ] 50 ++ lib.optionals stdenv.isLinux [ 51 # vesktop uses venmic, which is a shipped as a prebuilt node module
··· 13 pipewire, 14 libpulseaudio, 15 autoPatchelfHook, 16 + pnpm_9, 17 nodejs, 18 withTTS ? true, 19 withMiddleClickScroll ? false, ··· 23 }: 24 stdenv.mkDerivation (finalAttrs: { 25 pname = "vesktop"; 26 + version = "1.5.3"; 27 28 src = fetchFromGitHub { 29 owner = "Vencord"; 30 repo = "Vesktop"; 31 rev = "v${finalAttrs.version}"; 32 + hash = "sha256-HlT7ddlrMHG1qOCqdaYjuWhJD+5FF1Nkv2sfXLWd07o="; 33 }; 34 35 + pnpmDeps = pnpm_9.fetchDeps { 36 inherit (finalAttrs) 37 pname 38 version 39 src 40 patches 41 ; 42 + hash = "sha256-rizJu6v04wFEpJtakC2tfPg/uylz7gAOzJiXvUwdDI4="; 43 }; 44 45 nativeBuildInputs = 46 [ 47 nodejs 48 + pnpm_9.configHook 49 ] 50 ++ lib.optionals stdenv.isLinux [ 51 # vesktop uses venmic, which is a shipped as a prebuilt node module
+5 -5
pkgs/by-name/ve/vesktop/use_system_vencord.patch
··· 1 diff --git a/src/main/constants.ts b/src/main/constants.ts 2 - index d5c5fa6..a1b32f1 100644 3 --- a/src/main/constants.ts 4 +++ b/src/main/constants.ts 5 - @@ -16,7 +16,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); 6 - // needs to be inline require because of circular dependency 7 // as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised 8 export const VENCORD_FILES_DIR = 9 - - (require("./settings") as typeof import("./settings")).Settings.store.vencordDir || join(DATA_DIR, "vencordDist"); 10 - + (require("./settings") as typeof import("./settings")).Settings.store.vencordDir || "@vencord@"; 11 12 export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Vencord/Vesktop)`; 13
··· 1 diff --git a/src/main/constants.ts b/src/main/constants.ts 2 + index 40d91a5..7b46bbf 100644 3 --- a/src/main/constants.ts 4 +++ b/src/main/constants.ts 5 + @@ -49,7 +49,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); 6 // as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised 7 export const VENCORD_FILES_DIR = 8 + (require("./settings") as typeof import("./settings")).State.store.vencordDir || 9 + - join(SESSION_DATA_DIR, "vencordFiles"); 10 + + "@vencord@"; 11 12 export const USER_AGENT = `Vesktop/${app.getVersion()} (https://github.com/Vencord/Vesktop)`; 13
-2
pkgs/top-level/all-packages.nix
··· 24583 24584 vencord-web-extension = callPackage ../by-name/ve/vencord/package.nix { buildWebExtension = true; }; 24585 24586 - vesktop = callPackage ../by-name/ve/vesktop/package.nix { pnpm = pnpm_8; }; 24587 - 24588 vid-stab = callPackage ../development/libraries/vid-stab { 24589 inherit (llvmPackages) openmp; 24590 };
··· 24583 24584 vencord-web-extension = callPackage ../by-name/ve/vencord/package.nix { buildWebExtension = true; }; 24585 24586 vid-stab = callPackage ../development/libraries/vid-stab { 24587 inherit (llvmPackages) openmp; 24588 };