Files

18 lines
514 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
set -euo pipefail
# Copies the app on the Desktop on a local Intel laptop in Brent’s office.
# rsync doesn't add the quarantine flag, so the app launches without notarization.
REMOTE_HOST="heinlein.local"
SOURCE_APP="$HOME/Desktop/NetNewsWire.app"
if [ ! -d "$SOURCE_APP" ]; then
echo "❌ $SOURCE_APP not found. Build app first."
exit 1
fi
echo "🚚 Copying to $REMOTE_HOST..."
rsync -a --delete "$SOURCE_APP" "$REMOTE_HOST:Desktop/"
echo "✅ Copied to $REMOTE_HOST:Desktop/NetNewsWire.app"