Range-diff !378

back to !378 Add orgstar Pro (StoreKit on iOS, license keys on the Mac)

1:  53c5554 ! 1:  65a97fc Add orgstar Pro: StoreKit on iOS, signed license keys on the Mac
    @@ README.org: or download the notarized DMG from the
     +backlinks; widgets, the Apple Watch app and the clock Live Activity; Calendar and Reminders in
     +the agenda; and Shortcuts actions.
     +
    -+- iPhone and iPad: in-app, $2.99 a month, $29.99 a year or $49.99 once.
    -+- Mac: a license key from [[https://krz.sh/apps/orgstar/buy][krz.sh/apps/orgstar/buy]], entered in Settings ▸ Pro.
    ++- iPhone and iPad: in-app, $1.99 a month, $19.99 a year or $39.99 once.
    ++- Mac: $39.99 once, for a license key from [[https://krz.sh/apps/orgstar/buy][krz.sh/apps/orgstar/buy]], entered in
    ++  Settings ▸ Pro.
     +
     +Anyone who installed orgstar before Pro keeps every feature without buying it.
     +
    @@ Sources/Orgstar/ProLicense.swift (new)
     +        VStack(alignment: .leading, spacing: 0) {
     +            VStack(alignment: .leading, spacing: 6) {
     +                Label("\(feature.title) needs orgstar Pro", systemImage: feature.systemImage).font(.headline)
    -+                Text("Pro is a one-time purchase for this Mac. Editing, the agenda, capture, clocking and search stay free.")
    ++                Text("Pro is a one-time purchase of $39.99 for this Mac. Editing, the agenda, capture, clocking and search stay free.")
     +                    .foregroundStyle(.secondary)
     +            }
     +            .padding([.horizontal, .top], 20)
    @@ ios/Orgstar.storekit (new)
     +  "nonRenewingSubscriptions": [],
     +  "products": [
     +    {
    -+      "displayPrice": "49.99",
    ++      "displayPrice": "39.99",
     +      "familyShareable": true,
     +      "internalID": "6700000003",
     +      "localizations": [
    @@ ios/Orgstar.storekit (new)
     +        {
     +          "adHocOffers": [],
     +          "codeOffers": [],
    -+          "displayPrice": "29.99",
    ++          "displayPrice": "19.99",
     +          "familyShareable": true,
     +          "groupNumber": 1,
     +          "internalID": "6700000002",
    @@ ios/Orgstar.storekit (new)
     +        {
     +          "adHocOffers": [],
     +          "codeOffers": [],
    -+          "displayPrice": "2.99",
    ++          "displayPrice": "1.99",
     +          "familyShareable": true,
     +          "groupNumber": 1,
     +          "internalID": "6700000001",
    @@ packaging/license-issuer/buy.html (new)
     +<!-- The Buy button for krz.sh/apps/orgstar/buy (the domain Paddle approves). Fill in the client
     +     token and price ID; after checkout the buyer lands on the Worker's page with their key. -->
     +<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script>
    -+<button id="buy">Buy orgstar Pro for Mac</button>
    ++<button id="buy">Buy orgstar Pro for Mac, $39.99</button>
     +<script>
     +  const ISSUER = "https://orgstar-license.REPLACE_ME.workers.dev/license";
     +  Paddle.Initialize({