Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First draft implementation for scheme handler registry #405

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

MMulthaupt
Copy link
Collaborator

@MMulthaupt MMulthaupt commented May 26, 2023

See TODOs in code.

Additional TODOs:

  • SchemeHandlers might be better suited to be an array. systemuri could then take a []string of arguments to have more information to go by if ever needed. We lose nothing in the process and SchemeHandlers.ArgumentLine could be renamed to SchemeHandlers.Arguments.

See also:

https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)

@dragetd
Copy link
Member

dragetd commented Jun 2, 2023

Currently going through internal testing.

@@ -68,8 +68,8 @@ func (u *Updater) announceStatus(status UpdaterStatus, progressTarget uint64) {
}
}

func (u *Updater) Prepare(deploymentConfigURL string) {
log.Infof("Downloading deployment config from \"%s\".", deploymentConfigURL)
func (u *Updater) ObtainDeploymentConfig(deploymentConfigURL string) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method Updater.ObtainDeploymentConfig should have comment or be unexported

LauncherUpdate []LauncherUpdateConfig `json:"LauncherUpdate,omitempty"`
Bundles []BundleConfig `json:"Bundles,omitempty"`
Execution ExecutionConfig `json:"Execution,omitempty"`
}

type SchemeHandler struct {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type SchemeHandler should have comment or be unexported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants