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

CommonInstaller: make it Bromite WebView module aware

This commit is contained in:
Christopher Roy Bratusek 2018-11-08 18:46:56 +01:00
parent 3af526f627
commit d38a56c1d9

View File

@ -174,6 +174,9 @@ show_banner () {
NanoDroid_FDroid ) NanoDroid_FDroid )
ui_print " F-Droid package " ui_print " F-Droid package "
;; ;;
NanoDroid_BromiteWebView )
ui_print " Bromite WebView package"
;;
esac esac
ui_print "*****************************" ui_print "*****************************"
ui_print " " ui_print " "
@ -561,6 +564,10 @@ magisk_install_setup () {
error "${MODID} can't be installed along side the Full package" error "${MODID} can't be installed along side the Full package"
;; ;;
NanoDroid_BromiteWebView )
true
;;
* ) * )
error "unknown module intended to be installed!?" error "unknown module intended to be installed!?"
;; ;;
@ -959,6 +966,8 @@ install_initd () {
install_bromite_webview () { install_bromite_webview () {
if [ "${MODID}" = "NanoDroid_BromiteWebView" ]; then if [ "${MODID}" = "NanoDroid_BromiteWebView" ]; then
ui_print " << with Bromite WebView"
case ${ARCH} in case ${ARCH} in
arm | arm64 | x86 ) BROMITE_ARCH=${ARCH} ;; arm | arm64 | x86 ) BROMITE_ARCH=${ARCH} ;;
x86_64 ) BROMITE_ARCH=x86 ;; x86_64 ) BROMITE_ARCH=x86 ;;