Skip to content

feat: zero-config SetSource() API with manifest.json auto-discovery #464

Description

@JusterZhu

Problem

Currently developers must hand-write a 19-field Configinfo object to configure GeneralUpdateBootstrap. Identity metadata (app name, version, update path) is mixed with secrets (URL, key), making configuration error-prone for new users.

Solution

Add SetSource(url, key, token?, scheme?, reportUrl?) as a minimal entry-point. Secrets are supplied in code. Identity metadata is auto-discovered from generalupdate.manifest.json (generated by GeneralUpdate.Tools).

Implementation

See PR: #463

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featuresNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions