Skip to content

Commit

Permalink
Mention drag & drop for non-APK files in help
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1v committed Nov 7, 2021
1 parent d72c707 commit f489f7f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ _<kbd>[Super]</kbd> is typically the <kbd>Windows</kbd> or <kbd>Cmd</kbd> key._
| Enable/disable FPS counter (on stdout) | <kbd>MOD</kbd>+<kbd>i</kbd>
| Pinch-to-zoom | <kbd>Ctrl</kbd>+_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._
Expand Down
4 changes: 4 additions & 0 deletions app/scrcpy.1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions app/src/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f489f7f

Please sign in to comment.