HydraIssues

Embed scripts/streamdeck/ via go:embed and extract on hydrabody install
open improvement Project: hydrabody Reporter: cederik 22 Apr 2026 18:04

Description

scripts/streamdeck/ currently ships in the hydrabody repo but must be copied manually to C:\hydrabody\streamdeck\ on each body, and the kiosk token placeholder must be substituted by hand.

Mirror the kioskoverlay.exe pattern: embed via go:embed and extract on first tick or during 'hydrabody install' to C:\hydrabody\streamdeck\ (or ~/.hydrabody\streamdeck\). Substitute the kiosk token from body.yaml at extract time so the shipped .ps1 files land ready-to-use. Update the runbook's Kiosk Mode > StreamDeck companion scripts section to drop the 'copy manually' caveat afterwards.

Current state: scripts committed in hydrabody master (scripts/streamdeck/kiosk-*, mercator-*). Out of scope: remote/network-delivered commands (tracked in separate 'hydrastreamdeck' issue).