Skip to content

Commit

Permalink
Add manifest_chromium to README and help message
Browse files Browse the repository at this point in the history
  • Loading branch information
ryze312 committed Feb 14, 2024
1 parent a10e870 commit 738015c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ After that get native messasing host manifest:
```
ff2mpv-rust manifest
```
Or for Chromium/Chrome:
```
ff2mpv-rust manifest_chromium
```

Install it following manual installation instructions on [ff2mpv wiki](https://github.com/woodruffw/ff2mpv/wiki).

# Configuration
Expand All @@ -35,7 +40,8 @@ See [example configuration](ff2mpv-rust.json).
ff2mpv-rust provides command line interface with following commands:
```
help: prints help message
manifest: prints manifest for browser configuration
manifest: prints manifest for Firefox configuration
manifest_chromium: prints manifest for Chromium/Chrome configuration
validate: checks configration file for validity
```
Note that it won't fail on invalid commands, but instead assume it is called from browser, blocking the input.
Expand Down
3 changes: 2 additions & 1 deletion src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ impl Command {
println!("Usage: ff2mpv-rust <command>");
println!("Commands:");
println!(" help: prints help message");
println!(" manifest: prints manifest for browser configuration");
println!(" manifest: prints manifest for Firefox configuration");
println!(" manifest_chromium: prints manifest for Chromium/Chrome configuration");
println!(" validate: checks configration file for validity");
println!("Note: Invalid commands won't fail");
println!("Note: It will assume that binary is called from browser, blocking for input");
Expand Down

0 comments on commit 738015c

Please sign in to comment.