2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00

CommonInstaller: improve DroidGuard Helper handling

This commit is contained in:
Christopher Roy Bratusek 2018-09-16 10:18:23 +02:00
parent 54c7fc7293
commit 2b46235083

View File

@ -660,7 +660,7 @@ install_microg () {
nanodroid_install_apk ${app}
done
if [ "${NANODROID_UPGRADE}" -eq 0 ]; then
if [ -z "$(find /data/app -type d -name 'org.microg.gms.droidguard*')" ]; then
cp -r "${INSTALLER}/system/priv-app/DroidGuard/" \
/data/app/org.microg.gms.droidguard-1