Skip to content

Flowchart: Complete User Installation Flow

This flowchart illustrates the end-to-end process when a user subscribes to a publisher and installs content, showing how all architectural layers work together with the subscription system.

End-to-End Data Flow Analysis:

PhaseInput DataProcessing MethodOutput DataKey Transformation
Subscriptiongenhub:// URLProtocol handler + definition fetchSubscribed publisherURL → Publisher registration
DiscoveryPublisher selectionCatalog fetch + parsingContentSearchResult collectionCatalog JSON → Structured results
ResolutionContent selectionRelease fetch + parsingContentManifestLightweight data → Installation plan
AcquisitionArtifact URLsDownload + hash verification + CAS storageFiles in CASRemote artifacts → Local deduplicated storage
AssemblyFile references + strategyCAS file mapping + workspace creationReady workspaceCAS references → Functional environment
LaunchWorkspace path + configProcess creation + monitoringRunning game processStatic files → Active game session

Real-World Implementation Example:

  1. Subscription: User clicks genhub://subscribe link → Definition fetch → Publisher added to sidebar
  2. Discovery: User selects publisher → Catalog fetch → Content list displayed
  3. Resolution: User clicks Install → Release details fetched → Manifest with artifact URLs created
  4. Acquisition: Artifacts downloaded (150MB) → SHA256 verified → Files stored in CAS by hash
  5. Assembly: Strategy selection → Files symlinked/copied from CAS → Workspace validated
  6. Launch: Process execution → Isolated environment → Content-enabled gameplay experience

GeneralsHub Docs