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: FlafyDev <flafyarazi@gmail.com>
This commit is contained in:
parent
49e2fb7aae
commit
d08c422dfb
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user