Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added quotation marks so that the found file will be correctly referred to in the case that it includes whitespace in its name.

Example: $HOME/.config/google-chrome/Profile 1/Extensions/ekpipjofdicppbepocohdlgenahaneen/1.8.1_0/native/mpris_host_setup.py would be cut into two parts, $HOME/.config/google-chrome/Profile being the file and 1/Extensions/ekpipjofdicppbepocohdlgenahaneen/1.8.1_0/native/mpris_host_setup.py being an argument. After the addition of the quotation marks, the whole path will be used as the file.
  • Loading branch information
XPhyro authored Apr 27, 2020
1 parent 8ef54a9 commit bcf22a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ To install the host script, run the following commands:
```bash
$ extension_id="ekpipjofdicppbepocohdlgenahaneen"
$ installer=$(find $HOME/.config -name "mpris_host_setup.py" | grep ${extension_id})
$ python3 ${installer} install ${extension_id}
$ python3 "${installer}" install ${extension_id}
```

A restart of the browser is necessary to load the changes.
Expand All @@ -143,7 +143,7 @@ To uninstall the host script, run the following commands:
```bash
$ extension_id="ekpipjofdicppbepocohdlgenahaneen"
$ installer=$(find $HOME/.config -name "mpris_host_setup.py" | grep ${extension_id})
$ python3 ${installer} uninstall
$ python3 "${installer}" uninstall
```

## License (MIT)
Expand Down

0 comments on commit bcf22a7

Please sign in to comment.