当前位置:网站首页>2020 WeChat applet decompilation tutorial (can applet decompile source code be used)
2020 WeChat applet decompilation tutorial (can applet decompile source code be used)
2022-07-31 15:54:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
The main realization of the article: Without further ado, let’s go directly to the process!
Step 1: Install node.js first Click to download
Step 2: Download again wxappUnpackerDecompile packageClick to download package
Step 3: Ensure that all the above are installed Computer command window: CMD run Step 2 Directory run Load node dependencies:
The command window copies the following yellow commands:
npm install uglify-es --savenpm install esprima --savenpm install css-tree --savenpm install cssbeautify --savenpm install vm2 --savenpm install uglify-es --savenpm install js-beautify --savenpm install escodegen --savenpm install cheerio --save
After installation
GetMini programapk package (hint: how to obtain a broken applet package requires additional software to cooperate with the Internet, which is not provided here)
Now there are two types
The first simple applet can be done at one time
The second type of large company applet (plug-in and subcontracting) requires 4 steps: follow the steps to continue
node wuWxapkg.js file path +wxapkg file unpackingnode wuConfig.js file path + app-config.jsonnode wuJs.js file path + app-service.js (or game.js app-wxss.js app-wxss.js in mini games)node wuWxml.js file path+node wuWxss.js file path +
Attention to details:
Compile the main package first node wuWxapkg.js -o -d -s=file address
xxxx.wxapkg file package
Recompile and subpackage node wuWxapkg.js -d -s=file address
xxxx.wxapkg subpackage
node wuWxml.js -m +
app-wxss.js
Re-execute: —————–"22
node wuConfig.js
node wuJs.js
node wuWxml.js [-m]
node wuWxss.js
node wuWxapkg.js [-o] [-d] [-s=
If you need to decompress subpackages, please decompress the main package first, and then execute node wuWxapkg.js [-d] -s=
Except for -d and -s, the consequences of coexistence of these directives are undefined (and, of course, not dangerous).
Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/127971.htmlOriginal link: https://javaforall.cn
边栏推荐
- MySQL基础篇【单行函数】
- arm按键控制led灯闪烁(嵌入式按键实验报告)
- SIGABRT 报错时的注意事项和解决方法
- Precautions and solutions when SIGABRT error is reported
- The use of button controls
- MySQL数据库操作
- 基于Redis(SETNX)实现分布式锁,案例:解决高并发下的订单超卖,秒杀
- Tencent Cloud Deployment----DevOps
- Codeforces Round #796 (Div. 2)(A-D)
- Qt practical cases (54) - using transparency QPixmap design pictures
猜你喜欢
随机推荐
Browser's built-in color picker
jeecg主从数据库读写分离配置「建议收藏」
Insert into data table to insert data
The new BMW 3 Series is on the market, with safety and comfort
Qt practical cases (54) - using transparency QPixmap design pictures
JVM parameter analysis Xmx, Xms, Xmn, NewRatio, SurvivorRatio, PermSize, PrintGC "recommended collection"
11 pinia使用
Replication Latency Case (3) - Monotonic Read
【7.29】代码源 - 【排列】【石子游戏 II】【Cow and Snacks】【最小生成数】【数列】
C语言”三子棋“升级版(模式选择+AI下棋)
Matlab矩阵基本操作(定义,运算)
TRACE32 - Common Operations
leetcode303 Weekly Match Replay
Doing things software development - the importance of law and understanding of reasonable conclusions
type of timer
WPF项目--控件入门基础用法,必知必会XAML
Graham‘s Scan法求解凸包问题
【TypeScript】深入学习TypeScript类型操作
Qt实战案例(54)——利用QPixmap设计图片透明度
Implementing click on the 3D model in RenderTexture in Unity