-
Notifications
You must be signed in to change notification settings - Fork 4
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
base: master
Are you sure you want to change the base?
Conversation
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) { |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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
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 andSchemeHandlers.ArgumentLine
could be renamed toSchemeHandlers.Arguments
.See also:
https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)