Skip to content

configkey: update.apps

Tarek edited this page Jun 8, 2015 · 6 revisions

update.apps

{
    "update": {
        "apps": {
            "com.whatsapp": {
                "apk": "apps/WhatsApp.apk"
            },
            "com.cyanogenmod.trebuchet": {
                "apk": "sysapps/trebuchet.apk",
                "system": true,
                "patches": ["patches/patch1.diff", "patches/patch2.diff"]
            }
        }
    }
}

Using this property you can easily include any apks in your update package in the following format

  • update
    • apps
      • PKG_NAME Not necessarily package name, just a unique identifier for that app
        • apk: [str] Path to apk, relative to the declaring config
        • system: [bool] Is a system app or not, this for inception to infer where to place the apk on target revice
        • destination:[str] Path on device, override if you want to place it in a custom path
        • patches: [list of paths relative to the declaring config] List of patches to apply on the APK. (See Patching APKs)

Internally apps config is processed and gets transformed and placed in update.files.add (See configkey:-update.files)