2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00
NanoDroid/microG/common/service.sh
Christopher Roy Bratusek 04379c76fb for microG package aswell
2018-03-02 20:39:46 +01:00

9 lines
431 B
Bash

#!/system/bin/sh
# Please don't hardcode /magisk/modname/... ; instead, please use $MODDIR/...
# This will make your scripts compatible even if Magisk change its mount point in the future
MODDIR=${0%/*}
# in Magisk Mode microG DroidGuard Helper needs to be installed as user app
sleep 30 && pm list packages -f | grep -q /data.*org.microg.gms.droidguard || \
pm install -r "${MODDIR}/system/priv-app/DroidGuard/DroidGuard.apk" &