Do you consider making this dependent on the system's electron instead of the electron shipped with vscode?
A discussion (5-years ago) is here talking about the rationale:
Isn't electron meant to be used in this way anyway? You have it on your system once, and everything that wants to use it shares it, rather than having it multiple times.
Clearly this isn't the way it's used in practice, as many projects bundle a copy of electron. It seems like allowing code to use the system electron would be a step in the right direction.
The Archlinux official code package already does that, with this PKGBUILD you can reference. The things to change includes:
- handling version for the system's electron
- building native modules for the system's electron before building vscodium
- replace some strings so that the system's electron is called upon starting vscodium
An alternative AUR package vscodium-electron is designed so, but its maintainer is not responding anyone and the package is seriously out-of-date.
Pinned Comments