What: - update pin bump workflow to select OpenClaw-*.zip (not legacy Clawdbot assets) - modernize updater to use `nix flake update --update-input …` - standardize HM app install paths to OpenClaw.app Why: - upstream renamed Clawdbot -> OpenClaw; we should pin the current artifacts - ensure pin bumps pull in upstream model catalog / pi updates Tests: - bash -n scripts/update-pins.sh
12 lines
278 B
Bash
Executable File
12 lines
278 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
mkdir -p "$out/Applications"
|
|
app_path="$(find "$src" -maxdepth 2 -name '*.app' -print -quit)"
|
|
if [ -z "$app_path" ]; then
|
|
echo "OpenClaw.app not found in $src" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Canonical name going forward
|
|
cp -R "$app_path" "$out/Applications/OpenClaw.app"
|