Commit 06750ccc authored by Румен Петров's avatar Румен Петров
Browse files

clean-up obsolete executable

parent 2cd27452
......@@ -110,6 +110,16 @@ public class Application extends android.app.Application {
UserAccount.initialize(etcdir);
{// clean-up obsolete executable
File dir = new File(rootdir, "xbin");
if (dir.exists()) {
for (String item : dir.list()) {
new File(dir, item).delete();
}
dir.delete();
}
}
AssetManager am = getAssets();
try {
String asset_path = "etc";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment