equicord, equibop: updates (#428217)

authored by

Yohann Boniface and committed by
GitHub
6de5fb18 b3b6110e

+16 -17
+4 -5
pkgs/by-name/eq/equibop/disable_update_checking.patch
··· 2 2 index 23ea0d6..1ef465f 100644 3 3 --- i/src/main/index.ts 4 4 +++ w/src/main/index.ts 5 - @@ -32,7 +32,9 @@ if (process.platform === "linux") { 6 - if (IS_DEV) { 7 - require("source-map-support").install(); 8 - } else { 5 + @@ -22,7 +22,9 @@ import { isDeckGameMode } from "./utils/steamOS"; 6 + 7 + if (!IS_DEV) { 9 8 - autoUpdater.checkForUpdatesAndNotify(); 10 9 + console.log("Update checking is disabled. Skipping..."); 11 10 + // autoUpdater.checkForUpdatesAndNotify(); 12 11 + 13 12 } 14 13 15 - // Make the Vencord files use our DATA_DIR 14 + console.log("Equibop v" + app.getVersion()); 16 15
+6 -6
pkgs/by-name/eq/equibop/package.nix
··· 12 12 pipewire, 13 13 libpulseaudio, 14 14 autoPatchelfHook, 15 - pnpm_9, 15 + pnpm_10, 16 16 nodejs, 17 17 nix-update-script, 18 18 withTTS ? true, ··· 23 23 }: 24 24 stdenv.mkDerivation (finalAttrs: { 25 25 pname = "equibop"; 26 - version = "2.1.4"; 26 + version = "2.1.5"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "Equicord"; 30 30 repo = "Equibop"; 31 31 tag = "v${finalAttrs.version}"; 32 - hash = "sha256-y5q3shwmMjXlMaLWfxjN164uM8hSbWymsHIIJxM82Nk="; 32 + hash = "sha256-uod94pP261Alq+dby+/diiLT0KFjXswVapwXYAAAkbs="; 33 33 }; 34 34 35 - pnpmDeps = pnpm_9.fetchDeps { 35 + pnpmDeps = pnpm_10.fetchDeps { 36 36 inherit (finalAttrs) 37 37 pname 38 38 version ··· 40 40 patches 41 41 ; 42 42 fetcherVersion = 1; 43 - hash = "sha256-laTyxRh54x3iopGVgoFtcgaV7R6IKux1O/+tzGEy0Fg="; 43 + hash = "sha256-0UNScJAdpcMOcBHGGG+SeGQon89qLXTCNmaxEswNFBI="; 44 44 }; 45 45 46 46 nativeBuildInputs = [ 47 47 nodejs 48 - pnpm_9.configHook 48 + pnpm_10.configHook 49 49 # XXX: Equibop *does not* ship venmic as a prebuilt node module. The package 50 50 # seems to build with or without this hook, but I (NotAShelf) don't have the 51 51 # time to test the consequences of removing this hook. Please open a pull
+2 -2
pkgs/by-name/eq/equibop/use_system_equicord.patch
··· 2 2 index afb171f..c6a014e 100644 3 3 --- i/src/main/constants.ts 4 4 +++ w/src/main/constants.ts 5 - @@ -47,10 +47,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); 5 + @@ -30,10 +30,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes"); 6 6 7 7 // needs to be inline require because of circular dependency 8 8 // as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised 9 9 -export const VENCORD_DIR = (() => { 10 10 - const { State } = require("./settings") as typeof import("./settings"); 11 - - return State.store.vencordDir ? join(State.store.vencordDir, "equibop") : join(SESSION_DATA_DIR, "equicord.asar"); 11 + - return State.store.equicordDir ? join(State.store.equicordDir, "equibop") : join(SESSION_DATA_DIR, "equicord.asar"); 12 12 -})(); 13 13 +export const VENCORD_DIR = "@equicord@"; 14 14
+4 -4
pkgs/by-name/eq/equicord/package.nix
··· 14 14 # the Equicord repository. Dates as tags (and automatic releases) were the compromise 15 15 # we came to with upstream. Please do not change the version schema (e.g., to semver) 16 16 # unless upstream changes the tag schema from dates. 17 - version = "2025-04-17"; 17 + version = "2025-07-25"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "Equicord"; 21 21 repo = "Equicord"; 22 22 tag = "${finalAttrs.version}"; 23 - hash = "sha256-pAuNqPrQBeL2qPIoIvyBl1PrUBz81TrBd5RT15Iuuus="; 23 + hash = "sha256-6p7lfdRaxQusqZf86a1qclal2E0LusYYT1y3BPkOSKY="; 24 24 }; 25 25 26 26 pnpmDeps = pnpm_9.fetchDeps { 27 27 inherit (finalAttrs) pname version src; 28 28 fetcherVersion = 1; 29 - hash = "sha256-fjfzBy1Z7AUKA53yjjCQ6yasHc5QMaOBtXtXA5fNK5s="; 29 + hash = "sha256-LXbr/qh1QZXQ/Na5180Im2WW8KbWU78Oo0O12SiNMWg="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ ··· 60 60 passthru.updateScript = nix-update-script { 61 61 extraArgs = [ 62 62 "--version-regex" 63 - "^\d{4}-\d{2}-\d{2}$" 63 + "^(\\d{4}-\\d{2}-\\d{2})$" 64 64 ]; 65 65 }; 66 66