[core] Fix installation on S

This commit is contained in:
tehcneko 2021-02-21 16:55:39 +08:00
parent 76b93ce27f
commit f0562db283
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ touch /data/adb/lspd/new_install || abortC "! ${LANG_CUST_ERR_CONF_FIRST}"
ui_print "- ${LANG_CUST_INST_COPY_LIB}"
rm -rf "/data/adb/lspd/framework"
mv "${MODPATH}/system/framework" "/data/adb/lspd/framework"
set_perm /data/misc/$MISC_PATH root root 0771 "u:object_r:magisk_file:s0" || abortC "! ${LANG_CUST_ERR_PERM}"
set_perm /data/misc/$MISC_PATH 0 0 0771 "u:object_r:magisk_file:s0" || abortC "! ${LANG_CUST_ERR_PERM}"
if [[ ! -d /data/adb/lspd/config ]]; then
mkdir -p /data/adb/lspd/config