/unpack-wxapkg

Unpack .wxapkg file

Primary LanguagePHP

unpack-wxapkg

Unpack .wxapkg file

Usage

    [php] /path/to/unpack-wxapkg.php <xxx.wxapkg>

    - Unpack the `xxx.wxapkg` to `xxx.wxapkg.unpacked` directory.

Example

> php \temp\unpack-wxapkg.php 1.wxapkg
Reading file.
Parsing file header...
Got 25 files.
Unpacking file /images/icon_book.png (283bytes)...
Unpacking file /images/icon_DOC.png (1093bytes)...
Unpacking file /images/icon_DOCX.png (1093bytes)...
Unpacking file /images/icon_list.png (14957bytes)...
Unpacking file /images/icon_log.png (284bytes)...
Unpacking file /images/icon_PDF.png (890bytes)...
Unpacking file /images/icon_PPT.png (1200bytes)...
Unpacking file /images/icon_PPTX.png (1200bytes)...
Unpacking file /images/icon_TXT.png (590bytes)...
Unpacking file /images/icon_XLS.png (1128bytes)...
Unpacking file /images/icon1_1.png (1036bytes)...
Unpacking file /images/icon1.png (1019bytes)...
Unpacking file /images/icon2_1.png (1095bytes)...
Unpacking file /images/icon2.png (469bytes)...
Unpacking file /images/icon3_1.png (1376bytes)...
Unpacking file /images/icon3.png (15179bytes)...
Unpacking file /images/logo.png (57557bytes)...
Unpacking file /app-config.json (585bytes)...
Unpacking file /app-service.js (10411bytes)...
Unpacking file /page-frame.html (23725bytes)...
Unpacking file /pages/about/index.html (2145bytes)...
Unpacking file /pages/index/index.html (1927bytes)...
Unpacking file /pages/list/index.html (1533bytes)...
Unpacking file /pages/logs/logs.html (1012bytes)...
Unpacking file /pages/view/view.html (1022bytes)...
All done.

> ls 1.wxapkg.unpacked
app-config.json  app-service.js  images  page-frame.html  pages