Add instructions to uninstall

This commit is contained in:
Romain Vimont 2021-04-01 09:47:15 +02:00
parent 47d16a57ac
commit b77932a5b7

View file

@ -33,6 +33,12 @@ git pull
./install_release.sh ./install_release.sh
``` ```
To uninstall:
```bash
sudo ninja -Cbuild-auto uninstall
```
## Branches ## Branches
@ -295,11 +301,16 @@ After a successful build, you can install _scrcpy_ on the system:
sudo ninja -Cx install # without sudo on Windows sudo ninja -Cx install # without sudo on Windows
``` ```
This installs two files: This installs three files:
- `/usr/local/bin/scrcpy` - `/usr/local/bin/scrcpy`
- `/usr/local/share/scrcpy/scrcpy-server` - `/usr/local/share/scrcpy/scrcpy-server`
- `/usr/local/share/man/man1/scrcpy.1`
Just remove them to "uninstall" the application.
You can then [run](README.md#run) _scrcpy_. You can then [run](README.md#run) _scrcpy_.
### Uninstall
```bash
sudo ninja -Cx uninstall # without sudo on Windows
```