From f489f7fcadac5325cdda7eac52e32c77ac207678 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 7 Nov 2021 18:44:07 +0100 Subject: [PATCH] Mention drag & drop for non-APK files in help --- README.md | 1 + app/scrcpy.1 | 4 ++++ app/src/cli.c | 3 +++ 3 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 70080105..f86fff9f 100644 --- a/README.md +++ b/README.md @@ -839,6 +839,7 @@ _[Super] is typically the Windows or Cmd key._ | Enable/disable FPS counter (on stdout) | MOD+i | Pinch-to-zoom | Ctrl+_click-and-move_ | Drag & drop APK file | Install APK from computer + | Drag & drop non-APK file | [Push file to device](#push-file-to-device) _¹Double-click on black borders to remove them._ _²Right-click turns the screen on if it was off, presses BACK otherwise._ diff --git a/app/scrcpy.1 b/app/scrcpy.1 index 46db6e1d..9ad405c5 100644 --- a/app/scrcpy.1 +++ b/app/scrcpy.1 @@ -364,6 +364,10 @@ Pinch-to-zoom from the center of the screen .B Drag & drop APK file Install APK from computer +.TP +.B Drag & drop non-APK file +Push file to device (see \fB\-\-push\-target\fR) + .SH Environment variables diff --git a/app/src/cli.c b/app/src/cli.c index 02b89aa0..ea7cb1a0 100644 --- a/app/src/cli.c +++ b/app/src/cli.c @@ -328,6 +328,9 @@ scrcpy_print_usage(const char *arg0) { "\n" " Drag & drop APK file\n" " Install APK from computer\n" + "\n" + " Drag & drop non-APK file\n" + " Push file to device (see --push-target)\n" "\n", arg0); }