diff --git a/index.html b/index.html index fb019fba..2f28ff23 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,7 @@

IPA Archive

+ diff --git a/script.js b/script.js index d8d9a2ba..d1df26e7 100644 --- a/script.js +++ b/script.js @@ -96,10 +96,12 @@ function applySearch() { const minos = document.getElementById('minos').value; const maxos = document.getElementById('maxos').value; const platform = document.getElementById('device').value; + const minid = document.getElementById('minid').value; const minV = minos ? strToVersion(minos) : 0; const maxV = maxos ? strToVersion(maxos) : 9999999; const device = platform ? 1 << platform : 255; // all flags + const minPK = minid ? parseInt(minid) : 0; // [7, 2,20200,"180","com.headcasegames.180","1.0",1,"180.ipa", 189930], // [pk, platform, minOS, title, bundleId, version, baseUrl, pathName, size] @@ -107,7 +109,7 @@ function applySearch() { isInitial = false; const uniqueBundleIds = {}; DB.forEach(function (ipa, i) { - if (ipa[2] < minV || ipa[2] > maxV || !(ipa[1] & device)) { + if (ipa[2] < minV || ipa[2] > maxV || !(ipa[1] & device) || ipa[0] < minPK) { return; } if (bundle && ipa[4].toLowerCase().indexOf(bundle) === -1) {