I can use delete of updater-script to delete a file in /system:
delete("/system/app/YouTube.apk");
However, I can't do the following
delete("/system/app/*.odex");
Why doesn't it work?
I can use delete of updater-script to delete a file in /system:
delete("/system/app/YouTube.apk");
However, I can't do the following
delete("/system/app/*.odex");
Why doesn't it work?
Copyright © 2021 Jogjafile Inc.
I think the commands are limited..and you only can delete a file if you specify its full name and path. However you can write a sh script to do that thing, and execute it from updater-script.
For example create a sh file with the following code and place it in root of your zip:
And execute it from updater-script
Where rmodex.sh is the file which you made. And one more thing, be careful because
rm -rf /system/app/*.odex
will also remove all folders with *.odex name.