# packaging/ - per-OS runnable bundles `build_bundle.sh` assembles a runnable bundle of first-party build outputs plus the docs, one per OS. It copies already-built artifacts; it does not compile. Build first (see [docs/setup-linux.md](../docs/setup-linux.md) / [docs/setup-windows.md](../docs/setup-windows.md)), so every bundle reflects a real, tested output. ```sh packaging/build_bundle.sh linux [OUTDIR] # default: dist/kinect-linux packaging/build_bundle.sh windows [OUTDIR] # default: dist/kinect-windows ``` The script fails loudly (naming the missing artifact and the build to run) if an expected output is absent, rather than shipping an incomplete bundle. ## What a bundle contains | OS | Contents | | --- | --- | | **linux** | `lib/libnui_core.a`; `openni2/Drivers/libSynthKinect.so.0` (the OpenNI2 SynthKinect driver); `bin/openni2_depth_consumer`, `bin/depth_stats_consumer`, and optionally `bin/kinect_attach`; the `tracker/` Python source + `pyproject.toml`; the e2e harness (`run_e2e.py`, `generate_dance_video.py`); docs; `RUN.txt`. | | **windows** | A prebuilt **player bundle** (download + play, no build, no Python): `kinect-tracker.exe` (the native webcam tracker), `onnxruntime.dll`, and `models/pose_landmarks_detector.onnx`; `shim/x86/Kinect10.dll` and `shim/x64/Kinect10.dll` (the clean-room NUI shim, both arches); docs (incl. the calibration note); `LICENSE` and `ThirdPartyNotices.txt`; a one-page `RUN.txt`. | ## What a bundle never contains Per the plan's hard guardrail, a bundle links to but never redistributes: - the Microsoft Kinect for Windows 1.8 Runtime/SDK (`Kinect10.dll` real runtime, `kinect*.inf`), - NiTE2, - any DanceEvolution Arcade asset, - the tracker's `.venv` and MediaPipe `.task` model bundles (linux only; environment-specific, the setup guide reproduces them, and `tracker/models/README.txt` in the bundle carries the download commands). The windows bundle ships the native tracker's ONNX model directly, so it needs no Python environment. Those are supplied by the user from their official sources. Third-party components that *are* redistributed (the bundled ONNX Runtime and pose model) are attributed in `ThirdPartyNotices.txt`.