This commit is contained in:
Jim Wu 2020-12-25 10:24:14 +08:00 committed by GitHub
parent 265d7c1604
commit eef5ef29f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -165,5 +165,10 @@ chcon -R u:object_r:system_file:s0 "${MODDIR}"
chcon -R ${PATH_CONTEXT} "${LOG_PATH}"
chown -R ${PATH_OWNER} "${LOG_PATH}"
chmod -R 666 "${LOG_PATH}"
[[ -z "$MISC_PATH" ]] || chcon -R u:object_r:magisk_file:s0 "$BASE_PATH"
rm -f /data/adb/edxp/new_install
if [[ ! -z "${MISC_PATH}" ]]; then
mkdir -p "${BASE_PATH}/cache"
chcon -R u:object_r:magisk_file:s0 "${BASE_PATH}"
chmod -R 777 "${BASE_PATH}"
fi
rm -f /data/adb/edxp/new_install