diff --git a/lib/uninstall/batch.sh b/lib/uninstall/batch.sh index 04dfa6a..25193cf 100755 --- a/lib/uninstall/batch.sh +++ b/lib/uninstall/batch.sh @@ -101,7 +101,7 @@ remove_login_item() { # Remove from Login Items using index-based deletion (handles broken items) if [[ -n "$clean_name" ]]; then - osascript <<-EOF 2>/dev/null || true + osascript <<- EOF 2> /dev/null || true tell application "System Events" try set itemCount to count of login items @@ -120,8 +120,6 @@ remove_login_item() { fi } - - # Remove files (handles symlinks, optional sudo). remove_file_list() { local file_list="$1"