From 325ed8025234c2ab00f018a6b0eba3d0efd92640 Mon Sep 17 00:00:00 2001 From: Jefferson Warrior Date: Sat, 10 Jan 2026 17:59:16 -0600 Subject: [PATCH] scripts: simplify no-sign steps --- scripts/restart-mac.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/restart-mac.sh b/scripts/restart-mac.sh index aff81fd82..d29ab86cb 100755 --- a/scripts/restart-mac.sh +++ b/scripts/restart-mac.sh @@ -163,8 +163,7 @@ if [ "$NO_SIGN" -eq 1 ]; then export ALLOW_ADHOC_SIGNING=1 export SIGN_IDENTITY="-" mkdir -p "${HOME}/.clawdbot" - run_step "disable launchagent writes (unsigned)" \ - /usr/bin/touch "${HOME}/.clawdbot/disable-launchagent" + run_step "disable launchagent writes" /usr/bin/touch "${HOME}/.clawdbot/disable-launchagent" elif [ "$SIGN" -eq 1 ]; then if ! check_signing_keys; then fail "No signing identity found. Use --no-sign or install a signing key." @@ -203,7 +202,7 @@ choose_app_bundle if [ "$NO_SIGN" -eq 1 ]; then APP_BUNDLE_ID="$(/usr/libexec/PlistBuddy -c "Print :CFBundleIdentifier" "${APP_BUNDLE}/Contents/Info.plist" 2>/dev/null || true)" if [[ -n "${APP_BUNDLE_ID}" ]]; then - run_step "set attach-existing-only (unsigned)" \ + run_step "set attach-existing-only" \ /usr/bin/defaults write "${APP_BUNDLE_ID}" clawdbot.gateway.attachExistingOnly -bool YES fi fi