conf/defconf-phonesky.txt: install addon script

pull/53/head
FriendlyNeighborhoodShane 1 year ago
parent a7bc90826d
commit 11bce4badc

@ -34,6 +34,8 @@ stuff_arch_sdk="
"; ";
stuff_util=" stuff_util="
/util/func-defconf.sh
/util/script-addon.sh
"; ";
stuff_other=" stuff_other="
@ -66,18 +68,21 @@ post_build_actions() {
pre_install_actions() { pre_install_actions() {
. "$filedir/util/func-defconf.sh";
return 0; return 0;
} }
post_install_actions() { post_install_actions() {
addon_install;
return 0; return 0;
} }
pre_uninstall_actions() { pre_uninstall_actions() {
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file";
return 0; return 0;
} }
@ -87,3 +92,5 @@ post_uninstall_actions() {
return 0; return 0;
} }
addond_file="/system/addon.d/10-$modname.sh";

Loading…
Cancel
Save