# electron-injector `electron-injector` is an open source command-line tool written in Rust that enables you to inject JavaScript code into Electron apps at runtime. It is inspired by the Python project [electron-inject](https://github.com/tintinweb/electron-inject/) and offers similar functionality. ## Getting Started ### Installation You can download pre-compiled binaries from the [releases](https://github.com/itsKaynine/electron-injector/releases) page and add the binary to your `PATH` environment variable. Alternatively, you can install `electron-injector` using Cargo, Rust's package manager. ```bash $ cargo install electron-injector ``` ### Usage To use `electron-injector`, simply specify the path to the Electron app and the JavaScript file that you want to inject. ```bash $ electron-injector --script=/path/to/script.js /path/to/electron/app ``` ### Options ``` -a, --arg Additional arg for the electron app -s, --script