0.1.2 • Published 3 years ago

electron-inject-css v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Electron Inject CSS

PRs Welcome MIT license

Node CLI to inject a CSS file into an asar file. Running this program will modify your files on disk.

It is recommended to use node version 12 or higher.

Usage

Run without having to install anything with npx electron-inject-css.

Options

  • --css | -c Path to the css file to be injected
  • --css-dest | -d Glob path to where the css will be stored in unpacked asar
  • --help | -h Shows this help message
  • --html | -t Glob path to the HTML file in the unpacked asar
  • --src | -s Glob path to the asar file
  • --src-bin | -b Path to where the asar file will be unpacked too
  • --verbose | -v Shows more detailed logging
  • --yes | -y Skips the confirmation