mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
Merge branch 'master' into 'master'
Add double tab to each permission line in final xml and do it in "one" step See merge request Nanolx/NanoDroid!13
This commit is contained in:
commit
80e97e077b
@ -747,11 +747,9 @@ install_microg () {
|
||||
done
|
||||
|
||||
if [[ "$(grep_prop ro.lineage.releasetype)" == "microG" ]]; then
|
||||
sed -i '/com.android.vending/a <permission name="android.permission.FAKE_PACKAGE_SIGNATURE"/>' \
|
||||
${INSTALLER}/system/etc/permissions/privapp-permissions-google.xml
|
||||
|
||||
sed -i '/com.google.android.gms/a <permission name="android.permission.FAKE_PACKAGE_SIGNATURE"/>' \
|
||||
${INSTALLER}/system/etc/permissions/privapp-permissions-google.xml
|
||||
for pkgname in com.android.vending com.google.android.gms; do
|
||||
sed -i "/${pkgname}/a \\t\t<permission name=\"android.permission.FAKE_PACKAGE_SIGNATURE\"/>" ${INSTALLER}/system/etc/permissions/privapp-permissions-google.xml
|
||||
done
|
||||
fi
|
||||
|
||||
nanodroid_install_file etc/permissions/features.xml
|
||||
|
Loading…
Reference in New Issue
Block a user