Designing an offline-first license system for macOS apps