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

Build scripts

Windows .exe

.github\scripts\build_windows.ps1

MacOS .app Bundle

important

macOS Gatekeeper will not allow unsigned .app Bundles to run on other devices. When you build it yourself it will run on your Mac but if you share it, it will be blocked.

.github/scripts/build_macos.sh

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.

Dev Setup

important

Execute these commands in the python directory

Windows

  1. Install uv.
  2. Install Python.
    uv python install
    
  3. Install dev dependencies.
    uv sync --dev
    
  4. Install pre-commit.
    uvx pre-commit install
    
  5. Verify the player runs on CLI by showing the help.
    uv run adb-auto-player -h
    

MacOS

  1. Install Homebrew
  2. Install uv.
  3. Install Python.
    uv python install
    
  4. Install ADB
  5. Install Tesseract
  6. 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 Dev Build

  1. Follow all the steps in the CLI section
  2. Install Go
  3. Install Node
  4. (MacOS) Install Xcode
  5. Install Wails3
  6. Run the dev command from the root directory
    wails3 dev