You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// is it png?if((apkInfo.icon||'').contains(';base64,iVBORw0K')){// yes it is pngresolve(apkInfo);}else{// no it is not png but maybe xmlvarxml=newBinaryXmlParser(iconBuffer).parse();if(xml.nodeName=='bitmap'){// xml.attributes[0].typedValue.value = 'resourceId:0x7f0d0002'variconRef=xml.attributes[0].typedValue.value.split(':')[1].toUpperCase().replace('0X','@');_this2.getEntry(resourceMap[iconRef][0]).then(function(iconBuffer){apkInfo.icon=getBase64FromBuffer(iconBuffer);resolve(apkInfo);});}else{// exception... but when? i dont know.resolve(apkInfo);}}
The text was updated successfully, but these errors were encountered:
测试APK:知乎 v5.8.1
下载APK:https://github.com/LEORChn/ContentDelivery/releases/download/temp/zhihu_5.8.1.apk
(如果没有特殊需要,在一段时间后会清除。)
浏览器:Chrome 43
临时解决方案 in dist/app-info-parser.js
The text was updated successfully, but these errors were encountered: