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

CommonInstaller: update

This commit is contained in:
Christopher Roy Bratusek 2018-10-31 20:54:23 +01:00
parent 58f18082d6
commit 8d70e43073
2 changed files with 18 additions and 1 deletions

View File

@ -11,6 +11,17 @@
* improve microG DroidGuard Helper installation * improve microG DroidGuard Helper installation
* fix swipe feature by providing SDK-specific libraries * fix swipe feature by providing SDK-specific libraries
### General Changes
* Full, microG packages
* split privapp-permissions-google.xml into
* privapp-permissions-microg.xml for microG GmsCore permissions
* privapp-permissions-phonesky.xml for Play Store permissions
* split microg-permissions.xml into
* microg-permissions.xml for microG GmsCore and uNlp permissions
* phonesky-permissions.xml for Play Store permissions
* add privapp-permissions-gsync.xml for BackupTransport permissions
### Updates ### Updates
* automatic * automatic

View File

@ -723,7 +723,7 @@ install_microg () {
fi fi
nanodroid_install_file etc/permissions/features.xml nanodroid_install_file etc/permissions/features.xml
nanodroid_install_file etc/permissions/privapp-permissions-google.xml nanodroid_install_file etc/permissions/privapp-permissions-microg.xml
nanodroid_install_file etc/default-permissions/microg-permissions.xml nanodroid_install_file etc/default-permissions/microg-permissions.xml
nanodroid_install_file etc/sysconfig/microg-a5k.xml nanodroid_install_file etc/sysconfig/microg-a5k.xml
@ -777,6 +777,9 @@ install_gsync () {
cp -r "${INSTALLER}/gsync/etc/default-permissions/" "${MODPATH}/system/etc/" cp -r "${INSTALLER}/gsync/etc/default-permissions/" "${MODPATH}/system/etc/"
set_perm_data -r "${MODPATH}/system/etc/default-permissions/" set_perm_data -r "${MODPATH}/system/etc/default-permissions/"
cp -r "${INSTALLER}/gsync/etc/permissions/" "${MODPATH}/system/etc/"
set_perm_data -r "${MODPATH}/system/etc/permissions/"
find "${INSTALLER}/gsync/etc/default-permissions/" -type f | \ find "${INSTALLER}/gsync/etc/default-permissions/" -type f | \
sed -e "s,${INSTALLER}/gsync/etc,/system/etc,g" | \ sed -e "s,${INSTALLER}/gsync/etc,/system/etc,g" | \
installinfo_add installinfo_add
@ -849,6 +852,9 @@ install_store () {
ui_print " << with Play Store" ui_print " << with Play Store"
NANODROID_APP_STORE="Phonesky" NANODROID_APP_STORE="Phonesky"
NANODROID_REM_STORE="FakeStore" NANODROID_REM_STORE="FakeStore"
nanodroid_install_file etc/permissions/privapp-permissions-phonesky.xml
nanodroid_install_file etc/default-permissions/phonesky-permissions.xml
;; ;;
2 ) 2 )