From 900a5b5cde6798a2ec731a58ad162775f8b2e097 Mon Sep 17 00:00:00 2001 From: leeguooooo Date: Mon, 1 Jun 2026 18:55:58 +0900 Subject: [PATCH] fix(install): also create the `agent-browser-stealth` command name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install.sh created `agent-browser` + `abs` but not `agent-browser-stealth`, so users who invoke `agent-browser-stealth` (the fork's package name) weren't getting it updated on curl-install/upgrade. Now all three names — agent-browser, agent-browser-stealth, abs — symlink to the same binary, so an upgrade refreshes whichever name you actually run. --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 1173194..deaf06a 100755 --- a/install.sh +++ b/install.sh @@ -95,10 +95,14 @@ fi mkdir -p "$bindir" mv "$tmp/${BIN_NAME}" "$bindir/${BIN_NAME}" -# convenience aliases: `abs` (short) -> agent-browser -ln -sf "$bindir/${BIN_NAME}" "$bindir/abs" 2>/dev/null || true +# Aliases pointing at the same binary: `abs` (short) and `agent-browser-stealth` +# (the fork's package name). All three names work, and an upgrade refreshes +# whichever name you actually run. +for alias_name in abs agent-browser-stealth; do + ln -sf "$bindir/${BIN_NAME}" "$bindir/${alias_name}" 2>/dev/null || true +done -info "installed ${BIN_NAME} -> ${bindir}/${BIN_NAME}" +info "installed -> ${bindir}/ (agent-browser, agent-browser-stealth, abs)" "$bindir/${BIN_NAME}" --version 2>/dev/null || true case ":$PATH:" in