Expand description
ZIP archive extraction of the hyperd binary and its shared libraries.
ZIP-archive extraction for the Hyper API release bundle.
The upstream archive nests hyperd plus its shared libraries inside a
versioned top-level directory (e.g.
tableauhyperapi-java-macos-arm64-release-main.0.0.24457.rc36858b6/) and
then under lib/hyper/ on Linux/macOS or bin/hyper/ on Windows. This
module flattens both layers so downstream consumers only see the
hyperd runtime files. The layout is identical across the Java and C++
bundles, so this extractor is agnostic to which binding we download
(we use Java — see url.rs for why).
Functions§
- extract_
hyperd - Extract everything under
lib/hyper/(orbin/hyper/on Windows) from the Hyper API zip intodest_dir, flattening the wrapper prefixes away. Returns the list of extracted file paths relative todest_dir.