|
|
|
@ -16,6 +16,7 @@ public final class Server {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static void scrcpy(Options options) throws IOException {
|
|
|
|
private static void scrcpy(Options options) throws IOException {
|
|
|
|
|
|
|
|
Ln.i("Device: " + Build.MANUFACTURER + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");
|
|
|
|
final Device device = new Device(options);
|
|
|
|
final Device device = new Device(options);
|
|
|
|
boolean tunnelForward = options.isTunnelForward();
|
|
|
|
boolean tunnelForward = options.isTunnelForward();
|
|
|
|
try (DesktopConnection connection = DesktopConnection.open(device, tunnelForward)) {
|
|
|
|
try (DesktopConnection connection = DesktopConnection.open(device, tunnelForward)) {
|
|
|
|
|