2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: more fixes

This commit is contained in:
Christopher Roy Bratusek 2018-04-10 21:14:52 +02:00
parent 31aca66101
commit 2e61bdcaf6

View File

@ -326,7 +326,6 @@ nanodroid_finalize () {
ui_print " "
sync
nanodroid_storelogs
if ! ${BOOTMODE} ; then
@ -1025,7 +1024,7 @@ nanodroid_install_lib () {
set_perm_data ${libd}/${lib_arch}/$(basename ${lib})
[ "${MODE}" = "SYSTEM" ] && \
echo /${dir}/${app}/${lib_arch}/$(basename ${lib}) \
echo /${dir}/${app}/lib/${lib_arch}/$(basename ${lib}) \
>> /data/adb/.nanodroid-list
done
fi
@ -1088,18 +1087,26 @@ RESTORE_PATH=${RESTORE_PATH}
cat "${cfg_setup}" >> /data/adb/.nanodroid_${MODID}
if [ ! -z "${cfg_apps}" ]; then
echo "
### APPS ###
" >> /data/adb/.nanodroid_${MODID}
cat "${cfg_apps}" >> /data/adb/.nanodroid_${MODID}
fi
if [ ! -z "${cfg_overlay}" ]; then
echo "
### OVERLAY ###
" >> /data/adb/.nanodroid_${MODID}
cat "${cfg_overlay}" >> /data/adb/.nanodroid_${MODID}
fi
${BOOTMODE} || cat /tmp/recovery.log > /data/adb/.recovery_${MODID}
}