You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
feat: option to add system app
This commit is contained in:
@@ -46,4 +46,19 @@ migrate_config() {
|
||||
if ! grep -q "^auto_config=" "/data/adb/security_patch"; then
|
||||
echo "auto_config=1" >> "/data/adb/security_patch"
|
||||
fi
|
||||
|
||||
# Additional system app
|
||||
SYSTEM_APP="
|
||||
com.google.android.gms
|
||||
com.google.android.gsf
|
||||
com.android.vending
|
||||
com.oplus.deepthinker
|
||||
com.heytap.speechassist
|
||||
com.coloros.sceneservice"
|
||||
touch "/data/adb/tricky_store/system_app"
|
||||
for app in $SYSTEM_APP; do
|
||||
if pm list packages -s | grep -q "$app" && ! grep -q "$app" "/data/adb/tricky_store/system_app"; then
|
||||
echo "$app" >> "/data/adb/tricky_store/system_app"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user