[shell] No more cache
This commit is contained in:
parent
7e06147c98
commit
f6415478f2
|
|
@ -217,10 +217,6 @@ if [[ ! -e /data/adb/lspd/config/verbose_log ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
mkdir -p /data/misc/$MISC_PATH/cache
|
|
||||||
rm /data/misc/$MISC_PATH/cache/*
|
|
||||||
set_perm /data/misc/$MISC_PATH/cache 0 0 0777 "u:object_r:magisk_file:s0" || abortC "! ${LANG_CUST_ERR_PERM}"
|
|
||||||
|
|
||||||
mv "${MODPATH}/system/lib/libriru_lspd.so" "${MODPATH}/system/lib/${LIB_RIRU_EDXP}"
|
mv "${MODPATH}/system/lib/libriru_lspd.so" "${MODPATH}/system/lib/${LIB_RIRU_EDXP}"
|
||||||
if [[ "${IS64BIT}" == true ]]; then
|
if [[ "${IS64BIT}" == true ]]; then
|
||||||
mv "${MODPATH}/system/lib64/libriru_lspd.so" "${MODPATH}/system/lib64/${LIB_RIRU_EDXP}"
|
mv "${MODPATH}/system/lib64/libriru_lspd.so" "${MODPATH}/system/lib64/${LIB_RIRU_EDXP}"
|
||||||
|
|
|
||||||
|
|
@ -152,10 +152,8 @@ mkdir -p ${LOG_PATH}
|
||||||
chcon -R u:object_r:magisk_file:s0 ${LOG_PATH}
|
chcon -R u:object_r:magisk_file:s0 ${LOG_PATH}
|
||||||
|
|
||||||
if [[ ! -z "${MISC_PATH}" ]]; then
|
if [[ ! -z "${MISC_PATH}" ]]; then
|
||||||
mkdir -p "${BASE_PATH}/cache"
|
|
||||||
chcon -R u:object_r:magisk_file:s0 "${BASE_PATH}"
|
chcon -R u:object_r:magisk_file:s0 "${BASE_PATH}"
|
||||||
chmod 771 "${BASE_PATH}"
|
chmod 771 "${BASE_PATH}"
|
||||||
chmod 777 "${BASE_PATH}/cache"
|
|
||||||
print_log_head "${LOG_PATH}/modules.log"
|
print_log_head "${LOG_PATH}/modules.log"
|
||||||
# start_verbose_log_catcher
|
# start_verbose_log_catcher
|
||||||
start_log_catcher all "LSPosed:V XSharedPreferences:V LSPosed-Bridge:V LSPosedManager:V LSPosedService:V *:F" true ${LOG_VERBOSE}
|
start_log_catcher all "LSPosed:V XSharedPreferences:V LSPosed-Bridge:V LSPosedManager:V LSPosedService:V *:F" true ${LOG_VERBOSE}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue