2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

novl: fix -a with new app is similar to an existing one

This commit is contained in:
Christopher Roy Bratusek 2019-01-26 10:52:48 +01:00
parent 8a135e8b8e
commit 58b1620556
2 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,10 @@
* Uninstaller
* ensure restored backups (System Mode) have proper permissions
* NanoDroid-Overlay
* when listing non-overriden apps in Magisk Mode, skip NanoDroid's own packages
* fix adding overlays to configuration if a similarly named app already is in the configuration
* Push Messages
* GsfProxy needs the same signature as GmsCore in order for Push Messages to fully work
* when using NanoDroid's GmsCore a re-signed GsfProxy with the NanoDroid key will be installed
@ -19,7 +23,6 @@
* Scripts
* nanodroid-overlay
* store backups in System Mode per ROM in /sdcard/nanodroid_backups/${ro.build.flavor}_${ro.build.id}
* when listing non-overriden apps in Magisk Mode, skip NanoDroid's own packages
* Uninstaller
* improved System Mode uninstallation routine

View File

@ -82,7 +82,7 @@ overrides_add_intern () {
mv "/system/${sysdir}/${app}" "${SYS_BACKUP_PATH}/${sysdir}/"
fi
grep -q "^${app}" "${config}" 2>/dev/null || echo "${app}" >> "${config}"
grep -q "^${app}$" "${config}" 2>/dev/null || echo "${app}" >> "${config}"
}
overrides_add () {