rovo89 / XposedBridge

The Java part of the Xposed framework.
3.86k stars 1.1k forks source link

Try other filenames if apk can't be found #250

Open Maxr1998 opened 6 years ago

Maxr1998 commented 6 years ago

Iterate through possible filenames (using different number suffixes) if the apk in the modules.list doesn't exist. The reasoning for this is that users often reboot too quickly before the Xposed Installer could update the modules.list with the new apk path, and then send a bug report that the module doesn't work. Although this code isn't a really elegant solution, it should fix the problem, and why not try that when we can.