import '../components/home/home.css'; import Image from 'next/image'; import Link from 'next/link'; import { Play } from 'lucide-react'; import releaseManifest from '../../../public/mac-release.json'; import { pageMetadata } from '@/lib/site-metadata'; import DownloadButton from './DownloadButton'; import TestFlightButton from '../components/TestFlightButton'; import SiteHeader from '../components/SiteHeader'; import SiteFooter from '../components/SiteFooter'; import AppleIntelligenceRequirements from '../components/AppleIntelligenceRequirements'; export const metadata = pageMetadata('download'); type MacRelease = { version: string; build: number; file: string; bytes: number; sha256: string }; /** Mac installers live in the jotley-media R2 bucket; see "Mac distribution" in README.md. */ const INSTALLERS = 'https://media.jotley.ai/downloads'; async function getRelease(): Promise { // The website download can advance independently of the signed Sparkle feed. const release = releaseManifest; if (!/^\d+(\.\d+){1,2}$/.test(release.version) || !Number.isSafeInteger(release.build) || release.build < 1 || release.file !== `Jotley-${release.version}-${release.build}.dmg` || !/^[a-f0-9]{64}$/.test(release.sha256) || !Number.isSafeInteger(release.bytes) || release.bytes < 1) { throw new Error('The Mac release manifest is invalid.'); } const installer = await fetch(`${INSTALLERS}/${release.file}`, { method: 'HEAD' }); if (!installer.ok || Number(installer.headers.get('content-length')) !== release.bytes) { throw new Error(`The Mac installer does not match the release manifest: ${release.file}`); } return release; } function formatMegabytes(bytes: number) { return `${(bytes / 1_000_000).toFixed(1)} MB`; } type Mark = { x: number; y: number; label?: string }; /** A real installation screenshot on a desktop-style stage, with markers on what to click. */ function Shot({ src, width, height, alt, caption, marks, installer = false }: { src: string; width: number; height: number; alt: string; caption: string; marks: Mark[]; installer?: boolean }) { return (
{/* served as-is: real installation captures retain their original pixels */} {alt} {marks.map((mark) => ( ))}
{caption}
); } const CheckIcon = ( ); export default async function DownloadPage() { const release = await getRelease(); const fileName = release.file; const downloadUrl = `/${fileName}`; return (
{/* ============ HERO + STEP 1 ============ */}
{/* ============ STEPS 2 + 3 ============ */}
  1. Open DMG, Drag to Applications & Launch

    Once downloaded, open the Jotley DMG file. Drag Jotley onto the Applications shortcut. When copying is complete, eject the disk image and open Jotley from your Applications folder.

  2. Confirm Opening & Grant Permissions

    Notes is code signed and notarized by Apple. If macOS asks you to confirm opening it, click "Open". When you start transcribing, allow microphone and system-audio access when prompted.

Installation Complete!

You have successfully installed Jotley. Enjoy using the app!

); }