Skip to content

Commit

Permalink
use FoxMMM features
Browse files Browse the repository at this point in the history
adds convient support link & loading features
  • Loading branch information
nift4 committed Jul 27, 2022
1 parent 9d5de90 commit f23e7da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions module.prop
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f23e7da

Please sign in to comment.