Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.66 KB

File metadata and controls

41 lines (27 loc) · 1.66 KB

Clone to run

Language: 中文 | English

This page is the single-path guide for “running toxee for the first time”: from clone to a runnable app. For detailed dependency order and options, see operations/DEPENDENCY_BOOTSTRAP.en.md.

Prerequisites

Short path (run from repo root)

# 1. Clone (if not already)
git clone <repo-url> toxee && cd toxee

# 2. Dependency bootstrap: submodules, SDK fetch & patch, pubspec_overrides
dart run tool/bootstrap_deps.dart

# 3. Fetch Dart/Flutter dependencies
flutter pub get

# 4. Build and run (builds tim2tox FFI first)
./build_all.sh --platform macos --mode debug
# Or: build + launch
./run_toxee.sh

Other platforms: --platform ios, --platform android; run-only scripts: ./run_toxee_ios.sh, ./run_toxee_android.sh, etc.

FAQ

  • package_config.json parse error: Run dart tool/bootstrap_deps.dart (without run) first, then flutter pub get.
  • Dependency or build failure: See TROUBLESHOOTING.md.
  • What bootstrap does: See operations/DEPENDENCY_BOOTSTRAP.en.md (Bootstrap order); use dart run tool/bootstrap_deps.dart --force to re-vendor and re-apply patches.

Next steps