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>
11 lines
260 B
Swift
11 lines
260 B
Swift
import AppKit
|
|
|
|
// Subprocess pipes (scp, psql) can break mid-write; don't let SIGPIPE kill the app.
|
|
signal(SIGPIPE, SIG_IGN)
|
|
|
|
let app = NSApplication.shared
|
|
let appDelegate = AppDelegate()
|
|
app.delegate = appDelegate
|
|
app.setActivationPolicy(.regular)
|
|
app.run()
|