Document envvars for all platforms

Document how to set environment variables from the terminal for bash,
cmd and PowerShell.
This commit is contained in:
Romain Vimont 2022-06-17 08:39:40 +02:00
commit ed84e18b1a
2 changed files with 52 additions and 0 deletions

13
FAQ.md
View file

@ -103,10 +103,23 @@ You could overwrite the `adb` binary in the other program, or ask _scrcpy_ to
use a specific `adb` binary, by setting the `ADB` environment variable:
```bash
# in bash
export ADB=/path/to/your/adb
scrcpy
```
```cmd
:: in cmd
set ADB=C:\path\to\your\adb.exe
scrcpy
```
```powershell
# in PowerShell
$env:ADB = 'C:\path\to\your\adb.exe'
scrcpy
```
### Device disconnected