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
- Install uv.
- Install Python.
uv python install
- Verify the player runs on CLI by showing the help.
uv run adb-auto-player -h
MacOS
- Install uv.
- Install Python.
uv python install
- Install ADB
- 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
- Follow all the steps in the CLI section
- Install everything required for Wails. You can ignore the Optional Dependencies section.
- 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