diff --git a/edxp-core/template_override/EdXposed.apk b/edxp-core/template_override/EdXposed.apk new file mode 100644 index 00000000..7b6b6329 Binary files /dev/null and b/edxp-core/template_override/EdXposed.apk differ diff --git a/edxp-core/template_override/post-fs-data.sh b/edxp-core/template_override/post-fs-data.sh index 7de6fd0b..4f205622 100644 --- a/edxp-core/template_override/post-fs-data.sh +++ b/edxp-core/template_override/post-fs-data.sh @@ -144,6 +144,11 @@ mkdir "${MODDIR}/system/bin" cp -f "/system/bin/app_process32" "${MODDIR}/system/bin/app_process32" [[ -f "/system/bin/app_process64" ]] && cp -f "/system/bin/app_process64" "${MODDIR}/system/bin/app_process64" +# install stub if manager not installed +if [[ "$(pm path org.meowcat.edxposed.manager)" == "" ]]; then + pm install ${MODPATH}/EdXposed.apk 2>&2 +fi + start_verbose_log_catcher start_bridge_log_catcher diff --git a/edxp-core/template_override/system/app/EdXposed/EdXposed.apk b/edxp-core/template_override/system/app/EdXposed/EdXposed.apk deleted file mode 100644 index 367b6dc2..00000000 Binary files a/edxp-core/template_override/system/app/EdXposed/EdXposed.apk and /dev/null differ