diff --git a/customize.sh b/customize.sh index a12e57a..7e0d630 100644 --- a/customize.sh +++ b/customize.sh @@ -1,13 +1,27 @@ +if [ -n "$MMM_EXT_SUPPORT" ]; then + ui_print "#!useExt" + mmm_exec() { + ui_print "$(echo "#!$@")" + } +else + mmm_exec() { true; } +fi + install_phonesky() { + mmm_exec showLoading pm install --dont-kill "$MODPATH/system/priv-app/Phonesky/Phonesky.apk" pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE 2>/dev/null + mmm_exec hideLoading } if $BOOTMODE; then + mmm_exec setSupportLink "https://github.com/nift4/microg_installer_revived/issues" ui_print "- Installing microG GmsCore" + mmm_exec showLoading pm install --dont-kill -g "$MODPATH/system/priv-app/GmsCore/GmsCore.apk" + mmm_exec hideLoading if [ -f /data/adb/Phonesky.apk ]; then cp /data/adb/Phonesky.apk "$MODPATH/system/priv-app/Phonesky/Phonesky.apk" diff --git a/module.prop b/module.prop index aaed246..28d254a 100644 --- a/module.prop +++ b/module.prop @@ -5,3 +5,5 @@ versionCode=26200 author=nift4 description=Install microG GmsCore, GsfProxy, FakeStore (or Play Store if you want so) and MapsV1 to /system/ updateJson=https://raw.github.com/nift4/microg_installer_revived/master/update.json +support=https://github.com/nift4/microg_installer_revived/issues +minSdk=14