Giter VIP home page Giter VIP logo

wxapkg-convertor's Issues

src/wuWxapkg.js Line 158 缺陷未考虑workDir不是文件夹的情况

          let findDir = function (dir, oldDir) {
                let files = fs.readdirSync(dir);
                for (const file of files) {
                    let workDir = path.join(dir, file);   //此处workDir不是文件夹会导致fs.readdirSync(dir)抛异常,未考虑其处理逻辑
                    if (fs.existsSync(path.resolve(workDir, "app-service.js"))) {
                        console.log("sub package word dir: " + workDir);
                        mainDir = path.resolve(oldDir, mainDir);
                        console.log("real mainDir: " + mainDir);
                        dealThreeThings(workDir, mainDir, oldDir);
                        doSubPkg = true;
                        return true;
                    } else {
                        findDir(workDir, oldDir);
                    }
                }

            };

分包的没有解决

1、分包问题没有解决
2、uniapp里面的方法并没有还原,还是编译后的

导出为uniapp之后运行报错:`class 不支持 utils.bem('field__body',[type]) 语法`等语法不支持

image

估计是语法特性上的兼容问题,目前发现:

  1. :class 不支持 utils.bem('field__body',[type]) 语法
  2. :style 不支持 computed.inputStyle(autosize) 语法
  3. :class 不支持 utils.bem('field__word-num',{full:value.length>=maxlength}) 语法
  4. :class 不支持 utils.bem('field__error-message',[errorMessageAlign,{disabled:disabled,error:error}]) 语法
  5. :style 不支持 computed.containerStyle({fixed:fixed,height:height,zIndex:zIndex}) 语法
  6. :class 不支持 utils.bem('sticky-wrap',{fixed:fixed}) 语法
  7. :style 不支持 computed.wrapStyle({fixed:fixed,offsetTop:offsetTop,transform:transform,zIndex:zIndex}) 语法

不过微信原生小程序正常

错误

小程序名:润祥捷资源 反编译后导入出错

mac 无法打开

无法打开“wxapkgconvertor”,因为无法验证开发者。

解包失败

很多解包出来是些html文件 JS文件 是什么原因?Q283731251

打包可以添加 --asar,减少文件碎片

添加 --asar 参数后,打包后只有73个文件
现在的版本,打包后 有38090个文件,下载后解压速度非常慢

"scripts": {
"start": "electron .",
"buildmac": "electron-packager . --mac --out ../dist --overwrite --icon images/macicon.icns --ignore dont_include",
"buildwin": "electron-packager . --win --out ../dist --overwrite --icon images/winicon.ico --ignore dont_include"
},

我本地尝试 添加 --asar后,无法反编译,应该是路径的问题

因为 app.jsc 代码是加密的,没法继续排查

感谢完全开源!

谢谢您!之前一直纳闷核心文件怎么生成的,现在终于解惑了!

错误

智慧珞珈小程序 解压后分包有问题(内容有的为空)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.