Closed LunNova closed 2 years ago
For as far as I know only the official canary builds of Discord are supported.
So I'm pretty sure this issue is invalid. But that's probably better left to the maintainer(s) to decide.
https://github.com/powercord-org/powercord#how-can-i-install-powercord-on-stable-or-ptb and #32 may be relevant
This is with canary + electron 15.
It looked like handling electron 15 properly is desired, because other work has already been done for it eg #547
This is with canary + electron 15.
It looked like handling electron 15 properly is desired, because other work has already been done for it eg #547
But that doesn't make it an official build. Current release of Canary is on Electron 13.6.6, that's not 15.
It's also worth mentioning that they're currently working on v3 which will have a lot of breaking changes. The current state of the project was for as far I know maintainance only which means no futures will be added and to the looks of it only existing stuff will get fixed.
So as much as it is desireable. There's no need to support anything else than upstream builds of canary released by Discord themselves.
And I think that #463 backs up my claim. As only the official build found in the community repository is supported and not the package listed in the AUR.
We only support Discord Canary, which means anything not working on versions above (and below) 13 is a non-issue, especially since recent things done by Discord which seem to imply that Electron 13 will remain in use for a while.
Getting rid of top.context was done in anticipation of Discord upgrading and due to the nature of the change which fundamentally affects how Powercord has to do things and was a large change.
Describe the bug When launching discord with electron 15, you get stuck on a grey screen and this error is logged.
To Reproduce
nix run .#discord-plugged
after removing this patch https://github.com/LunNova/nixos-configs/blob/dev/packages/powercord/default.nix#L10Probably also reproducible on arch by trying to use powercord with https://aur.archlinux.org/packages/discord_arch_electron/ but I don't use arch so haven't tried.
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
5.15.12-xanmod1-tt #1-NixOS SMP PREEMPT Tue Jan 1 00:00:00 UTC 1980 x86_64
Additional context
Add any other context about the problem here.
I was able to work around the issue with this patch, it likely causes other issues. https://github.com/LunNova/nixos-configs/blob/dev/packages/powercord/force-new-backend.js.patch