Skip to content

Needs some (or better) documentation #16

@Entreprenerdz

Description

@Entreprenerdz

Instructions are assuming many things:

  • user has rustup installed
  • user knows how to install rustup
  • user knows how to use the binary file once it's built (I get command not found : autoadb when I try to run it)

It would also be nice to know how to use autoadb and also how to configure it away from the 3 examples given:

For example, to execute printf on device connection:

autoadb printf 'Device connected\n'
{} replaces the serial of the device detected:

autoadb printf 'Device %s connected\n' '{}'
It may be used to start scrcpy:

autoadb scrcpy -s '{}'

Questions:

  1. Is this supposed to run in the shell and keep a window help up while it is monitoring?
  2. What's the syntax for usage as I don't run scrcpy I run scrcpy --bit-rate 2M --max-size 800 -w --max-fps 15 --lock-video-orientation 0 --always-on-top -S --shortcut-mod=lalt,ralt
    is it autoadb <command to run> <options to run on the command> <autoadb options> or is it autoadb
  3. What are the other options other than -s?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions