1
Fork 0
mirror of https://github.com/RGBCube/random-scripts synced 2025-07-04 09:57:35 +00:00

fix: fix miui debloat again

This commit is contained in:
RGBCube 2025-03-04 23:35:34 +03:00
parent 4a36114d8b
commit 58ba9888ff
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -151,13 +151,11 @@ const ids = [
com.xiaomi.xmsf
]
for id in $ids {
try {
adb shell pm uninstall --user 0 $id
} catch {
print $"(ansi red)($id) failed (ansi reset)"
continue
}
print "waiting for adb device..."
adb wait-for-device
print $"(ansi green)($id) success (ansi reset)"
for id in $ids {
print --no-newline $"trying to uninstall ($id)... "
try { adb shell pm uninstall --user 0 $id o+e>| print $in }
}