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

nanodroid-overlay script does not (no longer) require Bash

This commit is contained in:
Christopher Roy Bratusek 2018-03-11 16:19:18 +01:00
parent 134f956983
commit 22edc08a5c
4 changed files with 6 additions and 10 deletions

View File

@ -8,6 +8,8 @@
* switch from stable to beta build for QKSMS
* Patcher, Uninstaller
* initial A/B parition scheme support
* NanoDroid-Overlay Script
* does not (more precisly: no longer) require Bash, default Shell is enough
* Updates (automatic)
* AnySoftKeyboard (1.9.1117)
* Déjà Vu nlpBackend (1.1.3)

View File

@ -217,9 +217,7 @@ backup_nlpconflicts () {
ui_print " ++ it conflicts with microG location backends"
ui_print " "
${MODPATH}/system/xbin/bash \
${MODPATH}/system/xbin/nanodroid-overlay \
--add ${app}
${MODPATH}/system/xbin/nanodroid-overlay --add ${app}
fi
;;
esac
@ -437,7 +435,6 @@ magisk_install_postinst () {
if [ "${nanodroid_overlay}" -eq 1 ]; then
ui_print " << with /system applications override"
${MODPATH}/system/xbin/bash.bin -e \
${MODPATH}/system/xbin/nanodroid-overlay --create
else
ui_print " << without /system applications override"
@ -652,11 +649,8 @@ install_novl () {
ui_print " << NanoDroid-Overlay Script"
nanodroid_install_file xbin/nanodroid-overlay bin
nanodroid_substitute xbin/nanodroid-overlay
nanodroid_install_file xbin/novl bin
nanodroid_substitute xbin/novl
nanodroid_install_file xbin/column.${BIN_ARCH} bin
nanodroid_install_file xbin/aapt.${BIN_ARCH} bin
}

View File

@ -1,4 +1,4 @@
#!@MODPATH@/system/xbin/bash
#!/system/bin/sh
export NO_MAGISK=0
export NO_CONFIG=0

View File

@ -1,4 +1,4 @@
#!@MODPATH@/system/xbin/bash
#!/system/bin/sh
# just call nanodroid-overlay
nanodroid-overlay "${@}"