From b77932a5b70bc3f60dbe589cfa5ae92472e139dd Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 1 Apr 2021 09:47:15 +0200 Subject: [PATCH] Add instructions to uninstall --- BUILD.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/BUILD.md b/BUILD.md index f81ca495..f20d5921 100644 --- a/BUILD.md +++ b/BUILD.md @@ -33,6 +33,12 @@ git pull ./install_release.sh ``` +To uninstall: + +```bash +sudo ninja -Cbuild-auto uninstall +``` + ## Branches @@ -295,11 +301,16 @@ After a successful build, you can install _scrcpy_ on the system: sudo ninja -Cx install # without sudo on Windows ``` -This installs two files: +This installs three files: - `/usr/local/bin/scrcpy` - `/usr/local/share/scrcpy/scrcpy-server` - -Just remove them to "uninstall" the application. + - `/usr/local/share/man/man1/scrcpy.1` You can then [run](README.md#run) _scrcpy_. + +### Uninstall + +```bash +sudo ninja -Cx uninstall # without sudo on Windows +```