Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

可以解小程序包,但是解包不完整 #5

Closed
biaosheng opened this issue Jul 29, 2023 · 2 comments
Closed

可以解小程序包,但是解包不完整 #5

biaosheng opened this issue Jul 29, 2023 · 2 comments

Comments

@biaosheng
Copy link

提示app.json app.js未找到,
部分文件内容只是框架 没内容
比如:
`// pages/center/index.js
Page({

/**

  • 页面的初始数据
    */
    data: {

},

/**

  • 生命周期函数--监听页面加载
    */
    onLoad(options) {

},

/**

  • 生命周期函数--监听页面初次渲染完成
    */
    onReady() {

},

/**

  • 生命周期函数--监听页面显示
    */
    onShow() {

},

/**

  • 生命周期函数--监听页面隐藏
    */
    onHide() {

},

/**

  • 生命周期函数--监听页面卸载
    */
    onUnload() {

},

/**

  • 页面相关事件处理函数--监听用户下拉动作
    */
    onPullDownRefresh() {

},

/**

  • 页面上拉触底事件的处理函数
    */
    onReachBottom() {

},

/**

  • 用户点击右上角分享
    */
    onShareAppMessage() {

}
})`

@wux1an
Copy link
Owner

wux1an commented Jul 31, 2023

解码出来的源码没法还原成原始状态,需要手动调整,参考:

  1. https://www.freebuf.com/articles/web/338033.html
  2. https://www.infoq.cn/article/229rwm46wjjqrewhjaty

搜索关键字 “微信小程序源码还原”

@wux1an
Copy link
Owner

wux1an commented Aug 3, 2023

参考 #6

@wux1an wux1an closed this as completed Aug 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants