# 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** | `shim/x86/Kinect10.dll` and `shim/x64/Kinect10.dll` (the clean-room NUI shim, both arches); the usbip-win attach/verify PowerShell scripts + `kinect-usbip.json`; the `tracker/` Python source; docs; `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 (environment-specific; the setup guide reproduces them, and `tracker/models/README.txt` in the bundle carries the download commands). Those are supplied by the user from their official sources.