jquery解析IPA,apk,pp文件的包名,版本信息,圖片等plist信息

所需文件app-plist-parser.js

示例:

<body>
  <input type="file" name="file" id="file" onchange="appSelect()">
  <script src="app-plist-parser.js"></script>
  <script>
    function appSelect () {
      const files = document.getElementById('file').files;
      const parser = new AppInfoParser(files[0]);
      parser.parse().then(result => {
        console.log('app info ----> ', result);
        console.log('file buffer ----> ', parser.file);
      }).catch(err => {
        console.log('err ----> ', err)
      })
    }
  </script>
</body>

頁面解析結果

索要app-plist-parser.js 聯繫博主微信ida0567,郵箱[email protected]

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章