Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
833 B · 22 lines
Shell
1234567891011121314151617181920212223#!/usr/bin/env bash# Build the iphone-tap CLI. Unsigned, local-use only — it needs Accessibility# (to read window frames + inject clicks) and Screen Recording (for `shot`)# permissions granted to whatever terminal runs it.set -euo pipefailcd "$(dirname "$0")"
swiftc -O -o iphone-tap main.swift \ -framework Cocoa \ -framework ApplicationServices \ -framework Vision
echo "✓ built ./iphone-tap"echoecho "First run will need permissions for your terminal app:"echo " • System Settings → Privacy & Security → Accessibility (tap + frame)"echo " • System Settings → Privacy & Security → Screen Recording (shot)"echoecho "Smoke test (open iPhone Mirroring first):"echo " ./iphone-tap frame"echo " ./iphone-tap shot /tmp/phone.png && open /tmp/phone.png"echo " ./iphone-tap ocr /tmp/phone.png"