You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
1.3 KiB
Plaintext
98 lines
1.3 KiB
Plaintext
# Config
|
|
|
|
modname="MinAddon-Playstore"
|
|
|
|
variant="Playstore";
|
|
ver="2.12.0";
|
|
verc="2120";
|
|
date="29 july 2023";
|
|
minsdk="21";
|
|
|
|
modprop="id=$modname
|
|
name=Minimal MicroG Addon Pack $variant
|
|
version=$ver
|
|
versionCode=$verc
|
|
author=MOVZX and FatherJony and FriendlyNeighborhoodShane
|
|
description=A Minimal MicroG installer with just the essentials
|
|
support=
|
|
donate=
|
|
minMagisk=1900
|
|
";
|
|
|
|
stuff="
|
|
/system/etc/permissions/com.android.vending.xml
|
|
/system/priv-app/Phonesky/Phonesky.apk
|
|
";
|
|
|
|
stuff_arch="
|
|
";
|
|
|
|
stuff_sdk="
|
|
";
|
|
|
|
stuff_arch_sdk="
|
|
";
|
|
|
|
stuff_util="
|
|
/util/func-defconf.sh
|
|
/util/script-addon.sh
|
|
";
|
|
|
|
stuff_other="
|
|
";
|
|
|
|
stuff_old="
|
|
";
|
|
|
|
stuff_uninstall="$stuff $stuff_arch $stuff_sdk $stuff_arch_sdk $stuff_other $stuff_old";
|
|
|
|
stuff_debloat="
|
|
";
|
|
|
|
stuff_perm="
|
|
/system/etc/permissions
|
|
/system/priv-app/Phonesky
|
|
";
|
|
|
|
pre_build_actions() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
post_build_actions() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
pre_install_actions() {
|
|
|
|
# shellcheck source=./res/util/func-defconf.sh
|
|
. "$filedir/util/func-defconf.sh";
|
|
return 0;
|
|
|
|
}
|
|
|
|
post_install_actions() {
|
|
|
|
addon_install;
|
|
return 0;
|
|
|
|
}
|
|
|
|
pre_uninstall_actions() {
|
|
|
|
[ "$magisk" = "no" ] && stuff_uninstall="$stuff_uninstall $addond_file";
|
|
return 0;
|
|
|
|
}
|
|
|
|
post_uninstall_actions() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
addond_file="/system/addon.d/10-$modname.sh";
|