-
-
Notifications
You must be signed in to change notification settings - Fork 120
fix(windows): add values wucUpdateAvailable and wucNotChecked to TRemoteUpdateCheckResult enum #14123
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
base: fix/windows/13767/error-updates-not-downloaded-after-3
Are you sure you want to change the base?
Conversation
TRemoteUpdateCheckResult now has wucUpdateAvailable and wucNotChecked to avoid confusion
User Test ResultsTest specification and instructions User tests are not required Test Artifacts |
…nloaded-after-3' into fix/windows/add-wuc-enum-result
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.
Almost LGTM
@@ -723,7 +722,7 @@ procedure UpdateAvailableState.HandleCheck; | |||
finally | |||
CheckForUpdates.Free; | |||
end; | |||
if Result <> wucSuccess then | |||
if Result <> wucFailure then |
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.
This doesn't seem right. I would expect something like
if Result <> wucFailure then | |
if Result = wucFailure then |
// TODO: #14126 first check if already downloaded files are the same as the the latest files in | ||
// the metadata, if not then we should download the new files. | ||
if (Result = wucSuccess) and (TUpdateCheckStorage.CheckMetaDataForUpdate) then | ||
// TODO: This actually needs to check if the updates available are newer then the already downloaded updates |
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.
// TODO: This actually needs to check if the updates available are newer then the already downloaded updates | |
// TODO: This actually needs to check if the updates available are newer than the already downloaded updates |
TRemoteUpdateCheckResult now has wucUpdateAvailable and wucNotChecked to avoid confusion.
In terms of functionality it is no different then change made in #14095 this just moves the logic test
keyman/windows/src/desktop/kmshell/main/Keyman.System.UpdateStateMachine.pas
Line 644 in 4462be9
The tests will be covered in #14095
Test-bot: skip