Skip to content

mogery/chroma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chroma

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.

State of the Project

Supported platforms:

  • Linux
    • regular installs
    • flatpak (WIP: sandboxing issues)
    • AppImages
  • Windows
  • macOS

Installing

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

Usage

Regular installs

For example, if you want to chromafy Slack:

chroma raw $(where slack)

Flatpak

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

About

One copy of Electron to rule them all.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages