← Commit history

1.9.187: Adom Bridge.app rename (stable bundle id); generic install.sh with legacy cleanup

Kyle Bergstedt ·863a398b93 ·3mo ago ·parent 8eae321
3 files changed +28−14
README.md+4−2
@@ -1,6 +1,8 @@ # Adom Bridge (macOS) -Bridge for **macOS** (Apple Silicon). Bridge is the daemon that connects AI tools+Bridge for **macOS** (Apple Silicon). Since 1.9.187 the app bundle is named+**Adom Bridge.app** (the bundle identifier stays `inc.adom.desktop`); upgrades+from an "Adom Desktop.app" install migrate the name automatically. Bridge is the daemon that connects AI tools to your Mac: it runs quietly in the menu bar (no Dock icon), starts at login, and serves AI callers over the Adom relay and the local API. @@ -39,6 +41,6 @@ Core parity with the Windows release: window enumeration and per-window screenshots (CGWindowList + `screencapture`), full synthetic desktop input (CGEvent), process list/kill, native notifications (UNUserNotificationCenter), LaunchAgent autostart, and the mac CLI companion at-`Adom Desktop.app/Contents/Resources/adom-desktop-cli`. Windows-inherent verbs+`Adom Bridge.app/Contents/Resources/adom-desktop-cli`. Windows-inherent verbs (WSL, registry, RDP/mstsc, Hydrogen build, UIA background input, WGC recording) return a clean "Windows-only" error by design.
install.sh+17−5
@@ -14,7 +14,10 @@ set -eu  MANIFEST_URL="https://wiki.adom.inc/api/v1/pages/adom-bridge-macos/files/version.json"-APP_NAME="Adom Desktop.app"+# The bundle was renamed Adom Desktop.app -> Adom Bridge.app at 1.9.187; the+# script discovers the .app inside the dmg generically and cleans up a+# legacy-named install so an upgrade never leaves two copies.+LEGACY_APP_NAME="Adom Desktop.app"  say()  { printf '%s\n' "$*"; } fail() { printf 'bridge-install: ERROR: %s\n' "$*" >&2; exit 1; }@@ -51,7 +54,8 @@ MNT=$(hdiutil attach "$DMG" -nobrowse -readonly | sed -n 's/.*\(\/Volumes\/.*\)$ [ -n "$MNT" ] || fail "could not mount dmg" trap 'hdiutil detach "$MNT" -quiet 2>/dev/null; rm -rf "$TMP"' EXIT -[ -d "$MNT/$APP_NAME" ] || fail "dmg does not contain $APP_NAME"+APP_NAME=$(ls "$MNT" | grep '\.app$' | head -1)+[ -n "$APP_NAME" ] && [ -d "$MNT/$APP_NAME" ] || fail "dmg does not contain an .app bundle"  DEST="/Applications" if [ ! -w "$DEST" ]; then@@ -60,12 +64,14 @@ if [ ! -w "$DEST" ]; then     say "/Applications not writable — installing to $DEST" fi -# If Bridge is running, quit it so the bundle swap is clean; it relaunches below.-if pgrep -f "$APP_NAME/Contents/MacOS" >/dev/null 2>&1; then+# If Bridge is running (under either bundle name), quit it so the swap is+# clean; it relaunches below.+if pgrep -f "\.app/Contents/MacOS/adom-desktop" >/dev/null 2>&1; then     say "Quitting the running Bridge for the upgrade..."+    osascript -e 'tell application "Adom Bridge" to quit' >/dev/null 2>&1 || true     osascript -e 'tell application "Adom Desktop" to quit' >/dev/null 2>&1 || true     sleep 2-    pkill -f "$APP_NAME/Contents/MacOS" 2>/dev/null || true+    pkill -f "\.app/Contents/MacOS/adom-desktop" 2>/dev/null || true     sleep 1 fi @@ -73,6 +79,12 @@ say "Installing to $DEST/$APP_NAME" rm -rf "$DEST/$APP_NAME" cp -R "$MNT/$APP_NAME" "$DEST/" +# Remove a legacy-named install so the upgrade doesn't leave two copies.+if [ "$APP_NAME" != "$LEGACY_APP_NAME" ] && [ -d "$DEST/$LEGACY_APP_NAME" ]; then+    say "Removing legacy $LEGACY_APP_NAME"+    rm -rf "$DEST/$LEGACY_APP_NAME"+fi+ hdiutil detach "$MNT" -quiet 2>/dev/null || true trap 'rm -rf "$TMP"' EXIT 
version.json+7−7
@@ -1,13 +1,13 @@ {   "manifest_version": 1,-  "version": "1.9.186",-  "released_at": "2026-08-10T18:35:00Z",+  "version": "1.9.187",+  "released_at": "2026-08-10T19:05:00Z",   "macos": {-    "installer_url": "https://wiki.adom.inc/download/adom/adom-bridge-macos/1.9.186/Adom.Bridge_1.9.186_macos_aarch64.dmg",-    "installer_filename": "Adom.Bridge_1.9.186_macos_aarch64.dmg",-    "installer_sha256": "4764f88e8569dca2af1947f6754aac320b0ef83e68279cc1c94a94f386f3d3e8",-    "installer_size": 12750515,+    "installer_url": "https://wiki.adom.inc/download/adom/adom-bridge-macos/1.9.187/Adom.Bridge_1.9.187_macos_aarch64.dmg",+    "installer_filename": "Adom.Bridge_1.9.187_macos_aarch64.dmg",+    "installer_sha256": "b501e204236a371e3fb750a05b219d562fefb23d5626798f138b2b463451e6da",+    "installer_size": 12768938,     "arch": "aarch64"   },-  "changelog": "macOS 1.9.186: Bridge is now a menu-bar agent. Signed-in launches go straight to the menu bar (no window, no Dock icon); click the menu-bar icon or relaunch the app to open the window for settings and approvals. First run still opens the sign-in window. One-line install: curl -fsSL https://wiki.adom.inc/api/v1/pages/adom-bridge-macos/files/install.sh | sh. Notarized + stapled."+  "changelog": "macOS 1.9.187: the app is now Adom Bridge.app (display rename; bundle identifier unchanged, so keychain, permissions, and sign-in carry over). Auto-update and the install script migrate the installed app folder name and the launch-at-login agent automatically." }