Skip to content

Commit

Permalink
fix: drop clearing app cache on boot. (#137)
Browse files Browse the repository at this point in the history
Clearing app cache on boot also clears app data.
  • Loading branch information
anonymousx97 authored Dec 27, 2024
1 parent 665431f commit 8fbee99
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion root/mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ am force-stop "$PKG_NAME"
chcon u:object_r:apk_data_file:s0 "\$BASE_PATH"
[ ! -z "\$STOCK_PATH" ] && mount -o bind "\$BASE_PATH" "\$STOCK_PATH"
am force-stop "$PKG_NAME"
pm clear --cache-only "$PKG_NAME"
EOF

cat <<EOF >"/data/adb/post-fs-data.d/umount_$PKG_NAME.sh"
Expand Down

0 comments on commit 8fbee99

Please sign in to comment.