webcord: 4.13.2 -> 4.14.0

This commit is contained in:
R. Ryantm
2026-07-20 02:53:39 +00:00
parent ab62973b0d
commit bb009f81ba
2 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
# allow overriding electron
electron_42,
electron_43,
webcord,
replaceVars,
lib,
@@ -8,7 +8,7 @@
}:
# nixpkgs-update: no auto update
(webcord.override { inherit electron_42; }).overrideAttrs (old: {
(webcord.override { inherit electron_43; }).overrideAttrs (old: {
pname = "webcord-vencord";
patches = (old.patches or [ ]) ++ [

View File

@@ -5,23 +5,23 @@
copyDesktopItems,
python3,
xdg-utils,
electron_42,
electron_43,
makeDesktopItem,
nodejs_22,
}:
buildNpmPackage.override { nodejs = nodejs_22; } rec {
pname = "webcord";
version = "4.13.2";
version = "4.14.0";
src = fetchFromGitHub {
owner = "SpacingBat3";
repo = "WebCord";
tag = "v${version}";
hash = "sha256-td04ayA1AVDy6WCPQH3Y8zmZ6VfObqzFvm+cD8WZum4=";
hash = "sha256-YmgKkSC54asDRy0kGsXfZT6AasrU4GtJzPWVrtO0xws=";
};
npmDepsHash = "sha256-LLxDJOLLBnjHRHTH/q1o3szu+armmwx9ZIKYKHUO+Z0=";
npmDepsHash = "sha256-ozo1jb7TXVBHIgYoFKTJKmbLpnOdMcGAM/uTJWJVu1I=";
makeCacheWritable = true;
@@ -56,7 +56,7 @@ buildNpmPackage.override { nodejs = nodejs_22; } rec {
install -Dm644 sources/assets/icons/app.png $out/share/icons/hicolor/256x256/apps/webcord.png
# Add xdg-utils to path via suffix, per PR #181171
makeWrapper '${lib.getExe electron_42}' $out/bin/webcord \
makeWrapper '${lib.getExe electron_43}' $out/bin/webcord \
--suffix PATH : "${binPath}" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--add-flags $out/lib/node_modules/webcord/