-
Notifications
You must be signed in to change notification settings - Fork 0
Building from Source
Source: https://github.com/drlholloway/sightings, licensed under PolyForm Shield 1.0.0 (use, build, modify and share freely; do not build a competing product).
Requirements: Flutter stable (3.47 or newer); for desktop libusb-1.0 (brew install libusb / apt install libusb-1.0-0-dev); for Android the SDK (platform 36) and a JDK.
git clone https://github.com/drlholloway/sightings.git
cd sightings
dart pub get
cd apps/workbench && flutter run -d macos # or -d linux / -d android
Tests: just test runs every package's tests plus the widget tests (or run dart test in each package under packages/ and flutter test in apps/workbench).
Layout: packages/dca75_protocol (frames, decoders, no I/O), packages/dca75_transport (libusb over dart:ffi, fakes, captures), packages/dca75_device (client, controller, sweeps, DCA55 and leakage measurements), packages/dca75_store (SQLite via drift), apps/workbench (the Flutter app, with the Android USB bridge in Kotlin), tools/dca75_cli (probe / identify / bench / replay from a terminal).
Releases: bump version: in apps/workbench/pubspec.yaml, commit, push a vX.Y.Z tag; GitHub Actions builds the macOS zip, Linux tarball and signed Android APK and attaches them to a Release.