Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsveron23/extract-pkg
Extract .app, .apk from iOS simulator or Android emulator
https://github.com/jsveron23/extract-pkg
adb android apk app emulator extract ios simulator xcrun
Last synced: about 1 month ago
JSON representation
Extract .app, .apk from iOS simulator or Android emulator
- Host: GitHub
- URL: https://github.com/jsveron23/extract-pkg
- Owner: jsveron23
- License: mit
- Created: 2019-05-04T09:28:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T17:36:24.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T00:25:22.899Z (8 months ago)
- Topics: adb, android, apk, app, emulator, extract, ios, simulator, xcrun
- Language: JavaScript
- Homepage:
- Size: 240 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# extract-pkg · [![npm](https://img.shields.io/npm/v/extract-pkg.svg)](https://www.npmjs.com/package/extract-pkg) [![Build Status](https://travis-ci.org/jsveron23/extract-pkg.svg?branch=master)](https://travis-ci.org/jsveron23/extract-pkg) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
Extract app package from iOS simulator or Android emulator. You must check 2 things before running the command.
- Simulator or emulator should be running
- The package file(.app or .apk) should be already installed## Installation
```bash
$ npm install extract-pkg -g # or --save-dev
```## Usage
```bash
$ extract-pkg # or --help, display usage
```If did not add `--to` or `-d`, the command will use same path where command executed.
```bash
$ extract-pkg ios --id=com.some.pkg
```If did not add `--rename` or `-n`, the command will be using same as original package file name.
```bash
$ extract-pkg android --id=com.some.pkg --rename=app-debug.apk
```## Support .js or JSON
```json
{
"ios": {
"id": "com.awesome.ios",
"to": "/path/to"
},
"android": {
"id": "com.awesome.android",
"to": "/path/to"
}
}
``````bash
$ extract-pkg android --config=/path/to/config.json
```or,
```js
module.exports = {
ios: {
id: 'com.awesome.ios',
to: '/path/to'
},
android: {
id: 'com.awesome.android',
to: '/path/to'
}
}
``````bash
$ extract-pkg ios --config=/path/to/config.js
```However, if you use `—id` with `—config`, even `id` value in JSON file exist, it will be ignored.
```bash
$ extract-pkg android --config=/path/to/config.json --id=com.use.this
```## License
MIT