Skip to content

kolbasa/apk-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

APK Update

This node script compresses an APK update and creates a manifest file with the version info next to it.

Installation

npm install -g apk-update

Instructions

USAGE:
	apk-update <apk-path> <output-path> [<password>]

	apk-path    - path to your apk
	output-path - your update is copied here
	password    - optional password

Sample usage

This example...

apk-update "Demo.apk" "update/"

...generates two files...

update/
├ Demo.zip
└ Demo.json

...with this version info:

{
  "name": "Demo.apk",
  "size": 1760840,
  "compressedSize": 1616355,
  "checksum": "29fec3254eded5804e103c0413f17c3d",
  "app": {
    "name": "Apk Updater Demo",
    "package": "de.kolbasa.apkupdater.demo",
    "version": {
      "code": 10000,
      "name": "1.0.0"
    }
  }
}

About

This node script compresses an APK update and creates a manifest file with the version info next to it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published