mirror of
https://github.com/itsKaynine/electron-injector.git
synced 2026-04-03 09:46:32 +02:00
docs: update comment for prelude option
This commit is contained in:
@@ -31,7 +31,7 @@ $ electron-injector --script=/path/to/script.js /path/to/electron/app
|
|||||||
-p, --port <PORT> The remote debugging port [default: 8315]
|
-p, --port <PORT> The remote debugging port [default: 8315]
|
||||||
-t, --timeout <TIMEOUT> Timeout in ms for injecting scripts [default: 10000]
|
-t, --timeout <TIMEOUT> Timeout in ms for injecting scripts [default: 10000]
|
||||||
-d, --delay <DELAY> Delay in ms to wait after spawning the process [default: 10000]
|
-d, --delay <DELAY> Delay in ms to wait after spawning the process [default: 10000]
|
||||||
--prelude Enable prelude script
|
--prelude Inject prelude script
|
||||||
-h, --help Print help
|
-h, --help Print help
|
||||||
-V, --version Print version
|
-V, --version Print version
|
||||||
```
|
```
|
||||||
@@ -50,4 +50,4 @@ We welcome contributions from the community. To contribute to `electron-injector
|
|||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
electron-injector is dual licensed under the [MIT License](https://opensource.org/licenses/MIT) and [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0). See the LICENSE-MIT and LICENSE-APACHE-2.0 files for more information.
|
`electron-injector` is dual licensed under the [MIT License](https://opensource.org/licenses/MIT) and [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0). See the LICENSE-MIT and LICENSE-APACHE-2.0 files for more information.
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ pub struct Config {
|
|||||||
#[arg(short, long, default_value_t = 10_000)]
|
#[arg(short, long, default_value_t = 10_000)]
|
||||||
pub delay: u64,
|
pub delay: u64,
|
||||||
|
|
||||||
/// Enable prelude script
|
/// Inject prelude script
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pub prelude: bool,
|
pub prelude: bool,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user