From b07e1f3a3a5dbe3b2e733681080b6c692164a632 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Fri, 10 Apr 2015 16:14:52 -0700 Subject: Update the comments for package installer commands These commands are for the communication between the installer and the update binary (edify interpreter). Update the comments in sync with the codes. Change-Id: I7390f022b1447049a974b0b45697ef1d2e71d4e0 --- install.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/install.cpp b/install.cpp index 662f81c76..c7d382f3e 100644 --- a/install.cpp +++ b/install.cpp @@ -88,7 +88,7 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) { // fill up the next part of of the progress bar // over seconds. If is zero, use // set_progress commands to manually control the - // progress of this segment of the bar + // progress of this segment of the bar. // // set_progress // should be between 0.0 and 1.0; sets the @@ -107,6 +107,18 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache) { // ui_print // display on the screen. // + // wipe_cache + // a wipe of cache will be performed following a successful + // installation. + // + // clear_display + // turn off the text display. + // + // enable_reboot + // packages can explicitly request that they want the user + // to be able to reboot during installation (useful for + // debugging packages that don't exit). + // // - the name of the package zip file. // -- cgit v1.2.3