A no-Xcode AppKit app (swiftc + build.sh): - Plaintext editor: 5 themes, line numbers, soft wrap, font controls, find, live Markdown preview (split mode), selection-aware Markdown toolbar. - Freeform Board mode: zoomable/pannable canvas of page cards (portrait/landscape, US Letter/A4/Legal/Square/Wide/Note), clean boxes, images (paste/drop/panel), freehand pen/shapes, screen-grab eyedropper, nested right-click menu, rich status bar. The Editor follows the selected page; layout persists to a foo.txt.board sidecar; the .txt stays pure plaintext. - scp-on-save to a Tailscale Mac (key auth, in-flight/quit drain). - HTML scraping pipeline: custom selector engine + Discogs profile, ingests to Postgres (psql) into a marketplace_snapshots schema. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
21 lines
483 B
Bash
Executable File
21 lines
483 B
Bash
Executable File
#!/bin/bash
|
|
# Build TextPlus.app — run: ./build.sh
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
|
|
APP="TextPlus.app"
|
|
rm -rf "$APP"
|
|
mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
|
|
|
swiftc -O -module-name TextPlus \
|
|
Sources/*.swift \
|
|
-o "$APP/Contents/MacOS/TextPlus"
|
|
|
|
cp Info.plist "$APP/Contents/Info.plist"
|
|
if [ -f Resources/AppIcon.icns ]; then
|
|
cp Resources/AppIcon.icns "$APP/Contents/Resources/AppIcon.icns"
|
|
fi
|
|
|
|
codesign --force --sign - "$APP"
|
|
echo "Built $APP"
|