Skip to content

Commit fcc96ec

Browse files
committed
Remove Iconify folder on module uninstall
1 parent 9e74acf commit fcc96ec

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/src/main/res/raw/module_uninstall.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
pm list packages -3 | cut -d':' -f2 | grep "^IconifyComponent" | while read -r pkg; do
55
pm uninstall "$pkg"
66
done
7+
8+
# Resolve internal storage path dynamically
9+
INTERNAL_STORAGE=$(readlink -f /sdcard 2>/dev/null) || INTERNAL_STORAGE="/storage/emulated/0"
10+
11+
# Delete Iconify folder from Downloads directory
12+
rm -rf "${INTERNAL_STORAGE}/Download/Iconify"

0 commit comments

Comments
 (0)