One copy of Electron to rule them all.
chroma keeps a central, up-to-date version of Electron, and makes all your installed Electron apps use it, in order to save disk space.
Supported platforms:
Rust and cargo are required. Install them with rustup.
Installation is a little rough and unintuitive right now, due to the lack of code for fetching the latest Electron. It'll get easier in the future.
mkdir /var/lib/chroma/
/var/lib/chroma/electron
cargo install --git https://github.com/mogery/chroma
For example, if you want to chromafy Slack:
chroma raw $(where slack)
WARNING: Flatpak support does not work right now: this will mangle your app.
For example, if you want to chromafy Slack:
chroma flatpak com.slack.Slack