From a920ba647140d29fedd2dc7bf167464ebc336d9e Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 24 May 2019 13:21:53 +0200 Subject: [PATCH] Explain how to customize path in README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 7bf203ba..5daafb2e 100644 --- a/README.md +++ b/README.md @@ -294,6 +294,19 @@ _¹Double-click on black borders to remove them._ _²Right-click turns the screen on if it was off, presses BACK otherwise._ +## Custom paths + +To use a specific _adb_ binary, configure its path in the environment variable +`ADB`: + + ADB=/path/to/adb scrcpy + +To override the path of the `scrcpy-server.jar` file (it can be [useful] on +Windows), configure its path in `SCRCPY_SERVER_PATH`. + +[useful]: https://github.com/Genymobile/scrcpy/issues/278#issuecomment-429330345 + + ## Why _scrcpy_? A colleague challenged me to find a name as unpronounceable as [gnirehtet].