Installer has no effect on discord_arch_electron
Describe the bug
It seems that the installer has zero effect on Discord when the discord_arch_electron AUR package is used. The installer doesn't even close discord when finished like it does with Arch's official discord package.
To Reproduce Steps to reproduce the behavior:
- Open BetterDiscord installer
- Install BD
- Observe that Discord is not closed
- Observe that nothing has changed
Expected behavior Discord to close upon installation of BD, and to open with BD injected.
Screenshots I would take a screen recording, but Discord likes to open straight to the friends list regardless of what you had open last time.
System Information:
- OS: Arch
- Discord Version: Stable (0.0.18)
Additional context I found some discussion regarding this package in #41, but that was a crashing issue. BD is not crashing, it just seems to be failing to inject at all.
The injection process only works on specific electron versions for the time being. This is mainly because it depends on specific exploits to expose internals to the renderer process so they can be used by plugins.
Some experimental changes are being worked on which run the plugins in an isolated context and wraps the required apis to cleanly expose them to plugins, but that's still very much work in progress and can't fix your problem yet.
For the time being you need to use the regular discord package using the electron version provided by discord.
@QbDesu Is there a roadmap when this issue will be solved? I'm working on Arch Linux, I installed discord_arch_electron from AUR, then I installed then betterdiscord-installer, then, for avoiding the error:
[12325:0704/193138.367354:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
fish: Job 1, 'betterdiscord-installer' terminated by signal SIGTRAP (Trace or breakpoint trap)
I run betterdiscord-installer --no-sandbox and installed correctly it.
Of course, when I run discord, on User Settings I don't get the BetterDiscord settings:

@D3vil0per as I said, if you want to use BD use the regular discord package from the community repo. This issue will most likely only be fixed after Discord's official build upgrades their electron version which we don't really know when it will happen. So there isn't really a point in waiting for it.
There is some progress being made in preparation to support newer electron versions for when the update finally hits (the no-require and polyfill branches of the BetterDiscord repo) but these aren't enough to support newer electron versions yet.
you'll need to use a discord AUR version that has an electron version of something under 17. there isnt anything BD will do about this until the regularly shipped version of Discord is using a more updated version of electron