Skip to content

configkey: update.script

Tarek edited this page Jun 7, 2015 · 4 revisions
{
    "update": {
        "script": {
            "pre": null, 
            "verbose": true, 
            "footer": null, 
            "header": null, 
            "post": null, 
            "wait": 0, 
            "format_data": true
        }
    }
}

Inside the update package that inception generates, there is an updatescript that it is also generated, which android executes to apply the changes. You can modify this updatescript using those properties.

  • update
    • script
      • pre [Array/optional]: Paths to a pre-installation script files, relative to the declaring config.
      • post [Array/optional]: Paths to a post-installation script files, relative to the declaring config.
      • verbose [bool/optional]: Show on device screen commands being executed during installation. Default is true
      • progress [bool/optional]: Show current progress during installation. Default is true
      • header [str/optional]: Text to print on device screen before installation starts
      • footer [str/optional]: Text to print on device screen after installation finishes
      • wait [int/optional]: Time in seconds to wait before exiting, after installation has finished. Default is 0
      • format_data: [bool/optional] Format data partition.