A practical, copy-pasteable guide to licensing a macOS app — activation, offline verification, and gating features by entitlement — without building a backend.