Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IPAForge is an open-source desktop tool (Windows, macOS, Linux) for installing S

## Project Structure

> Planned layout. Directories appear as roadmap milestones land. **Exists today:** `packages/kernel`, `packages/signer`, `packages/device`, `packages/apple`, `packages/catalog`, `packages/installer`, `packages/rpc`, `packages/ui` (palettes, top bar and sidebar shell, routes, i18n with six languages, Engine query hooks and the device feed, Apple ID sign-in and the Accounts page, the device picker and Devices page, the install home, the install run with its questions, step details and recovery box (`state/active-run`, `state/selection`), the log viewer (`features/logs`, `state/log-view`), the Preload page with Browse apps and the Sources tab (`features/preload`, `state/preload`), the Apps page with Refresh, Update and automatic refresh (`features/apps`, `state/auto-refresh`), the Developer Portal page with the team's certificates, App IDs, app groups, registered devices and the device's profiles (`features/developer`), in small tabs shared with Preload (`components/page-tabs.tsx`), and pairing files per app (the Pairing files dialog on Apps, Save pairing file on Devices), Repair SideStore (`features/repair`), the on-device checklist (`features/devices/checklist`), the update screen (`features/updates`), What's new and the changelog (`features/whats-new`); runs in a browser on a fake Engine via its own Vite config), `catalog/sources.json`, `apps/desktop` (Node adapters, `createDesktopEngine`, the RPC transport and IPA resolver, maintainer probes, the Electron shell: one hardened window rendering `@ipaforge/ui`, connected to the Engine in main over a MessagePort, and updating on launch (`main/updates`)), `fixtures/signer`, `scripts/`, `patches/`, `docs/releases/`, `.github/workflows/`.
> Planned layout. Directories appear as roadmap milestones land. **Exists today:** `packages/kernel`, `packages/signer`, `packages/device`, `packages/apple`, `packages/catalog`, `packages/installer`, `packages/rpc`, `packages/ui` (palettes, top bar and sidebar shell, routes, i18n with six languages, Engine query hooks and the device feed, Apple ID sign-in and the Accounts page, the device picker and Devices page, the install home, the install run with its questions, step details and recovery box (`state/active-run`, `state/selection`), the log viewer (`features/logs`, `state/log-view`), the Preload page with Browse apps and the Sources tab (`features/preload`, `state/preload`), the Apps page with Refresh, Update and automatic refresh (`features/apps`, `state/auto-refresh`), the Developer Portal page with the team's certificates, App IDs, app groups, registered devices and the device's profiles (`features/developer`), in small tabs shared with Preload (`components/page-tabs.tsx`), and pairing files per app (the Pairing files dialog on Apps, Save pairing file on Devices), Repair SideStore (`features/repair`), the on-device checklist (`features/devices/checklist`), the update screen (`features/updates`), What's new and the changelog (`features/whats-new`), the setup guide while no Apple ID is saved and the tour of the pages (`features/guide`, `features/tour`, `state/guide`); runs in a browser on a fake Engine via its own Vite config), `catalog/sources.json`, `apps/desktop` (Node adapters, `createDesktopEngine`, the RPC transport and IPA resolver, maintainer probes, the Electron shell: one hardened window rendering `@ipaforge/ui`, connected to the Engine in main over a MessagePort, and updating on launch (`main/updates`)), `fixtures/signer`, `scripts/`, `patches/`, `docs/releases/`, `.github/workflows/`.

```
ipaforge/
Expand Down
8 changes: 5 additions & 3 deletions apps/desktop/src/main/constants.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
/**
* The only pages the UI may open, in the user's default browser: a new IPAForge issue (Report the problem),
* IPAForge's releases (an update to download by hand) and Apple's account and developer pages (fixes such as
* verifying the email or accepting the agreement). Each entry is an origin and the path the page must start with.
* IPAForge's releases (an update to download by hand), Apple's account and developer pages (fixes such as
* verifying the email or accepting the agreement) and Apple Devices in the Microsoft Store (the setup guide's fix
* for Windows). Each entry is an origin and the path the page must start with.
*/
export const allowedExternalLinks = [
{ origin: 'https://github.com', path: '/IPAForge/ipaforge/issues/new' },
{ origin: 'https://github.com', path: '/IPAForge/ipaforge/releases' },
{ origin: 'https://account.apple.com', path: '/' },
{ origin: 'https://developer.apple.com', path: '/account' }
{ origin: 'https://developer.apple.com', path: '/account' },
{ origin: 'https://apps.microsoft.com', path: '/detail/9np83lwlpz9k' }
] as const

/**
Expand Down
3 changes: 3 additions & 0 deletions docs/design/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ Every feature below maps to the phases that deliver it. "Automatic" means the us
- [x] 6d: log buffer, log stream and log viewer: paged and searched in the Engine, a virtual list, live lines, Copy and Save, debug details, Show logs for a failed run, Ctrl+L (#56)
- [x] 6e: screenshot and accessibility tests per locale: every main screen in five languages and dark mode, clipped-text, WCAG 2.2 AA and keyboard checks in a real Chromium, Linux references made in Docker; contrast fixes for muted, red and amber text (#58)
- [ ] **7. Onboarding**: a first-run guided wizard with platform checks (usbmuxd / Apple Mobile Device driver, with copyable fixes per OS), network preflight (Apple, anisette, clock skew), connecting and trusting the device, Developer Mode, Apple ID sign-in with 2FA, team choice, and choosing what to install. It can be resumed and re-run from settings
- progress:
- [x] 7a: the setup guide on the first launch, in place of the pages: Welcome (language), This computer (`engine.systemCheck`: the iPhone connection service with the fix for this system, Apple's servers, the clock, the anisette servers), Your iPhone (connected, trusted, unlocked, Developer Mode), Apple ID (sign-in and the team); opening by itself while no Apple ID is saved; any step skipped or opened from the list, Finish later with a banner to continue, Settings › Setup guide to run it again; and the tour of the pages (9 stops), starting whenever the guide closes, from its compass button in the top bar and from Settings › Show me around; Settings in two tabs (General as a settings list: appearance and language, the setup guide; Anisette servers), and two more palettes, Violet and Mocha, with every palette tinting its backgrounds so they tell apart (#95)
- [ ] 7b: installing SideStore from the guide (or Not now) and the after-install steps on the iPhone
- [x] **8. Install and preload experience**: one-click SideStore (stable/nightly), a preload picker (local IPAs, URLs, catalog apps), source deep links and a QR code for SideStore, a live pipeline view, dedicated recovery screens for every `ErrorCode` with "copy diagnostics", an on-device checklist per iOS version, a "Repair SideStore" wizard, and one-click switching to another Apple ID when one is banned
- progress (most built during Phase 6c):
- [x] one-click SideStore or LiveContainer + SideStore, Stable or Nightly (#46)
Expand Down
2 changes: 1 addition & 1 deletion docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The detailed roadmap, with each phase's scope, is [design/roadmap.md](design/roa
| 4 | Developer services ✓ | Teams, certificates, app IDs, groups, profiles |
| 5 | Installer engine + catalog ✓ | Pipelines, flows, release catalog, error catalog |
| 6 | UI foundation ✓ | HeroUI + Tailwind shell, colour palettes, i18n, Engine connection, accounts, devices, install run, its questions, recovery, step details, the log viewer, and screenshot and accessibility tests (#28–#58) |
| 7 | Onboarding | First-run guided wizard |
| 7 | Onboarding | First-run guided wizard: 7a the setup guide (computer, iPhone and Apple ID checks) and the tour ✓ (#95); 7b installing from the guide |
| 8 | Install & preload UX ✓ | One-click SideStore ✓, live run view ✓, recovery screens ✓, Apple ID switch ✓, preload picker ✓ (#59), app sources ✓ (#66), detailed install progress ✓ (#67), the Apps section ✓ (#68), Repair SideStore ✓ (#70), SideStore QR codes ✓ (#71), on-device checklist ✓ (#72), the smaller notes ✓ (#73), anisette servers in Settings ✓ (#80), days left as SideStore counts them and SideStore refreshed with its own date ✓ (#81), installs that never hang on a locked device and Cancel refresh ✓ (#93) |
| 9 | Desktop app ✓ (#61, #62, #63, #64, #65, #69, #74, #75, #77) | Electron packages for Windows, macOS, Linux ✓; the macOS app signed with IPAForge's own certificate ✓; auto-update and What's new ✓ (#74); Windows signing and notarisation moved to 1.0 |
| 10 | Management tools ✓ | Developer Portal page (#86), pairing files per app (#87), saving signed IPAs (#90), `.p12` import and export (#93) |
Expand Down
2 changes: 1 addition & 1 deletion docs/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ UI to Engine, each with an `id` that its response echoes:

| `type` | Fields | Engine call |
|---|---|---|
| `query` | `call: { method, args }` | `listDevices`, `deviceStatus`, `deviceApps` (what the on-device checklist needs: LocalDevVPN installed), `revealDeveloperMode` (a one-shot call), `pairDevice` (waits for the Trust tap, within the request timeout), `listAccounts`, `listTeams`, `catalogApps`, `catalogReleases` (each channel's latest release of a catalog app, from GitHub), `recommendedChannel`, `appIdQuota`, `listCertificates`, `planInstall`, the app sources (`listSources`, `sourceApps`, `checkSource` and `addSource`, both https only, `removeSource`, `setSourceEnabled`, `refreshSources`), the installed apps (`installedApps`, `removeApp`, `refreshPlan`, which asks Apple for the team's certificates), `checkSideStore` (Repair SideStore's check), and `signOut` (a one-shot call answered the same way) |
| `query` | `call: { method, args }` | `listDevices`, `deviceStatus`, `deviceApps` (what the on-device checklist needs: LocalDevVPN installed), `revealDeveloperMode` (a one-shot call), `systemCheck` (the setup guide's computer check: the device service, Apple, the clock, the anisette servers), `pairDevice` (waits for the Trust tap, within the request timeout), `listAccounts`, `listTeams`, `catalogApps`, `catalogReleases` (each channel's latest release of a catalog app, from GitHub), `recommendedChannel`, `appIdQuota`, `listCertificates`, `planInstall`, the app sources (`listSources`, `sourceApps`, `checkSource` and `addSource`, both https only, `removeSource`, `setSourceEnabled`, `refreshSources`), the installed apps (`installedApps`, `removeApp`, `refreshPlan`, which asks Apple for the team's certificates), `checkSideStore` (Repair SideStore's check), and `signOut` (a one-shot call answered the same way) |
| `start` | `runId`, `call: { command, input }`, `resume?` | `installSideStore`, `installApps`, `refreshApps` (its `apps` named like installApps', its `profiles` bundle ids), `repairSideStore`, `placePairing`, `signIn` |
| `answer` | `runId`, `answer` | `handle.answer()` |
| `decline` | `runId` | `handle.decline()` |
Expand Down
Loading
Loading