-
Notifications
You must be signed in to change notification settings - Fork 474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
老哥,搞个mac版的哇 #12
Comments
Mac 小程序目录结构和加密方式不一样,处理起来比较麻烦,可以参考:https://github.com/TinyNiko/mac_wxapkg_decrypt Windows 版微信比较好操作,解密后解包就可以了。Mac 电脑建议在 Windows 虚拟机里操作。 |
Mac 电脑建议在 Windows 虚拟机里操作程序报错 |
@wux1an 似乎不支持 arm windows, release 提供的 binrary 无法执行 自己build后正常使用。 |
我在原有基础上修改了几处代码,可以实现在MacOS系统上对微信小程序进行解包,不敢保证所有的Mac版本和微信版本可用。 |
在你的基础上还要在/cmd/unpack.go里过滤".DS_Store",我这在解包的时候会报 var allFileCount = 0
for _, subDir := range dirs {
//修改开始
if subDir.Name() == ".DS_Store" {
continue
}
//修改结束
subOutput := filepath.Join(output, subDir.Name())
files, err := scanFiles(filepath.Join(root, subDir.Name()))
util.Fatal(err) |
No description provided.
The text was updated successfully, but these errors were encountered: