mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-26 20:26:01 +00:00
Document envvars for all platforms
Document how to set environment variables from the terminal for bash, cmd and PowerShell.
This commit is contained in:
parent
a83c3e30f3
commit
ed84e18b1a
2 changed files with 52 additions and 0 deletions
13
FAQ.md
13
FAQ.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue