https://github.com/kolbasa/apk-update
This node script compresses an APK update and creates a manifest file with the version info next to it.
https://github.com/kolbasa/apk-update
Last synced: 8 months ago
JSON representation
This node script compresses an APK update and creates a manifest file with the version info next to it.
- Host: GitHub
- URL: https://github.com/kolbasa/apk-update
- Owner: kolbasa
- License: mit
- Created: 2021-07-19T19:52:05.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T12:32:36.000Z (over 3 years ago)
- Last Synced: 2025-01-09T02:57:21.972Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### APK Update
This node script compresses an APK update and creates a manifest file with the version info next to it.
### Installation
```bash
npm install -g apk-update
```
### Instructions
```bash
USAGE:
apk-update []
apk-path - path to your apk
output-path - your update is copied here
password - optional password
```
### Sample usage
This example...
```bash
apk-update "Demo.apk" "update/"
```
...generates two files...
```
update/
├ Demo.zip
└ Demo.json
```
...with this version info:
```json
{
"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"
}
}
}
```