Unverified Commit d08c422d authored by huantian's avatar huantian
Browse files

webcord-vencord: override electron to use electron_24



Webcord has updated to electron 25, but that causes a segfault when launching webcord-vencord on wayland, so downgrade it for now.

Co-authored-by: default avatarFlafyDev <flafyarazi@gmail.com>
parent 49e2fb7a
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -2,8 +2,10 @@
, substituteAll
, lib
, vencord-web-extension
, electron_24
}:
webcord.overrideAttrs (old: {

(webcord.overrideAttrs (old: {
  patches = (old.patches or [ ]) ++ [
    (substituteAll {
      src = ./add-extension.patch;
@@ -15,4 +17,8 @@ webcord.overrideAttrs (old: {
    description = "Webcord with Vencord web extension";
    maintainers = with maintainers; [ FlafyDev NotAShelf ];
  };
})
})).override {
  # Webcord has updated to electron 25, but that causes a segfault
  # when launching webcord-vencord on wayland, so downgrade it for now.
  electron_25 = electron_24;
}