DefaultApp looks like a great way to bootstrap a new macOS app.