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:
- Linux
- regular installs
- flatpak (WIP: sandboxing issues)
- AppImages
- Windows
- macOS
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.
- as root:
mkdir /var/lib/chroma/
- grab the latest electron ZIP for your platform
- as root: unzip into
/var/lib/chroma/electron
- as self:
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