Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Dev & Build

CLI

Set the python directory as the root of your project if you are using PyCharm.
The python/.idea contains run configurations and other things that make setting up PyCharm easier for you.

Setup

important

Execute these commands in the python directory

Windows

  1. Install uv.
  2. Install Python.
    uv python install
    
  3. Verify the player runs on CLI by showing the help.
    uv run adb-auto-player -h
    

MacOS

  1. Install uv.
  2. Install Python.
    uv python install
    
  3. Install ADB
  4. Verify the player runs on CLI by showing the help.
    uv run adb-auto-player -h
    

Note:

UV creates a standard python virtual environment by default. Standard Unix command:

source .venv/bin/activate

More examples in UV Docs.

GUI

  1. Follow all the steps in the CLI section
  2. Install everything required for Wails. You can ignore the Optional Dependencies section.
  3. Run the dev command from the root directory
    wails dev
    

Build scripts

Windows build_zip.ps1

$env:GITHUB_WORKSPACE = "C:\Users\$env:USERNAME\GolandProjects\AdbAutoPlayer"; .github\scripts\build_zip.ps1