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:
parent
134f956983
commit
22edc08a5c
@ -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)
|
||||
|
@ -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,8 +435,7 @@ 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
|
||||
${MODPATH}/system/xbin/nanodroid-overlay --create
|
||||
else
|
||||
ui_print " << without /system applications override"
|
||||
fi
|
||||
@ -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
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!@MODPATH@/system/xbin/bash
|
||||
#!/system/bin/sh
|
||||
|
||||
export NO_MAGISK=0
|
||||
export NO_CONFIG=0
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!@MODPATH@/system/xbin/bash
|
||||
#!/system/bin/sh
|
||||
|
||||
# just call nanodroid-overlay
|
||||
nanodroid-overlay "${@}"
|
||||
|
Loading…
Reference in New Issue
Block a user