Created
January 26, 2020 02:10
-
-
Save Scrxtchy/f56baf61717e6e4a1d4855a9a75c5d8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if [%~1]==[-w] goto :wireless | |
if [%~1]==[kill] goto :kill | |
goto :connect | |
:kill | |
D:\Scratch\Documents\Scrcpy\adb.exe kill-server | |
exit /b | |
:wireless | |
D:\Scratch\Documents\Scrcpy\adb.exe tcpip 5555 | |
Echo Unplug Device | |
PAUSE | |
D:\Scratch\Documents\Scrcpy\adb.exe connect 192.168.0.69:5555 | |
:connect | |
D:\Scratch\Documents\Scrcpy\scrcpy.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment