Merge pull request #28 from yifan-gu/add_install_started_event

update_engine_events.go: Add a custom "InstallStarted" event.
This commit is contained in:
Yifan Gu 2017-08-07 13:11:49 -07:00 committed by GitHub
commit 3648e19ebf
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ var (
Type: omaha.EventTypeUpdateDownloadFinished,
Result: omaha.EventResultSuccess,
}
EventInstallStarted = &omaha.EventRequest{
Type: omaha.EventTypeInstallStarted,
Result: omaha.EventResultSuccess,
}
EventInstalled = &omaha.EventRequest{
Type: omaha.EventTypeUpdateComplete,
Result: omaha.EventResultSuccess,