Files
esp-emu-peris/install.sh
T
darceye 81915288f5 Fetch esp-emulator browser build from GitHub releases; release packaging (0.10.1)
- tools/fetch_esp_emu.py: download esp-emu-<ver>-wasm.tar.gz from the
  espressif/esp-emulator release into vendor/esp-emu-browser/www (proxy-aware
  via https_proxy, sha256-verified against SHA256SUMS, cached in
  vendor/downloads/, idempotent, --version to switch baseline)
- npm run build/test trigger the fetch automatically; serve.py, sync_www.py
  and the m0/m1 tests default to the vendored copy (ESP_EMU_WWW/--www
  override) — no machine-local absolute paths left in the dev flow
- install.sh/install.bat + tools/package_release.py (npm run package):
  release archives ship the pre-compiled UI + the esp-emulator fetch script
- docs updated (README/AGENT/UPGRADE/ROADMAP/CHANGELOG, EN+zh)
2026-11-02 09:38:03 +08:00

10 lines
424 B
Bash

#!/bin/sh
# esp-emu-peris installer: fetches the esp-emulator browser (wasm) build
# from https://github.com/espressif/esp-emulator/releases into vendor/.
# Requires Python 3. Behind a firewall set the usual proxy env first, e.g.
# https_proxy=http://127.0.0.1:10809 ./install.sh
set -e
cd "$(dirname "$0")"
if command -v python3 >/dev/null 2>&1; then PY=python3; else PY=python; fi
exec "$PY" tools/fetch_esp_emu.py "$@"