You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add zero-config SetSource() API and manifest.json auto-discovery
Add SetSource(url, key, token?, scheme?, reportUrl?) as a minimal
bootstrap entry-point. Identity metadata (MainAppName, ClientVersion,
UpdateAppName, UpdatePath, …) is auto-discovered from
generalupdate.manifest.json generated by GeneralUpdate.Tools, with
hard-coded defaults as final fallback.
Changes:
- ManifestInfo: DTO for generalupdate.manifest.json with camelCase JSON mapping
- AppMetadataDiscoverer: fills missing identity fields from manifest or defaults
- GeneralUpdateBootstrap.SetSource(): 5-parameter convenience entry-point
- SetConfig() now auto-invokes Discover() to fill gaps
- InitializeFromEnvironment() stays IPC-only for the Upgrade path
- Configinfo.Validate(): InstallPath is no longer required (defaults to BaseDirectory)
- HttpParameterJsonContext: registered ManifestInfo for source-gen serialization
- ClientTest: converted from SetConfig(Configinfo) to SetSource() + manifest.json
- UpgradeTest: clarified IPC-only config flow (no manifest needed)
0 commit comments