This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
extract ipa png icon failed #6
Comments
普通情况下ipa里面的png图片会经过pngcrush压缩,报错是这个图片没有经过pngcrush压缩,我今天加个处理,没有压缩过就直接解压 |
按说我在 iTunes 中下载的微信的安装包应该是经过 pngcrush 压缩的才对吧? |
不一定是 |
我查了下,找到这个链接:https://discussions.apple.com/thread/7263918?start=0&tstart=0 可能是这样: |
这个我不太清楚,我要兼容两种 |
好的 |
我更新到0.2.4了,你试一下 |
👍 可以了,关闭这个 issue 吧 |
感谢反馈,比心 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
处理 icon 的时候报错:
应该是 extractIpaIcon 这个函数里面
fs.writeFile
报的错。我的尝试:
fs.writeFileSync
,但是也会有报警:libpng warning: Input PNG is not optimized for iPhone OS. Copying source file to destination...还是说我的 libpng 版本有问题?
The text was updated successfully, but these errors were encountered: