diff --git a/README.md b/README.md index f6b5ddc..9be7662 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,10 @@ Please follow the instuction below from @axeldna: 请按照说明进行操作 * You should use latest Magisk Manager to install this module. If you meet any problem under installation from Magisk Manager, please try to install it from recovery. 您应该使用最新的Magisk Manager来安装此模块。如果您在Magisk Manager中安装模块遇到问题,请尝试使用Recovery来安装 -* Recent fixes: -Support Magisk Canary(26404). -Fix path detection for old devices. +### Recent fixes: +- Support 3rd party Magisk versions with magiskhide. +- Support Magisk Canary(26404). +- Fix path detection for old devices. ## Credit & Support 版权及支持 diff --git a/customize.sh b/customize.sh index 256528d..be06a2c 100644 --- a/customize.sh +++ b/customize.sh @@ -1,9 +1,10 @@ -if [ "$MAGISK_VER_CODE" -lt 24000 ]; then -ui_print "*********************************************************" -ui_print "! Please install Magisk v24+" -abort "*********************************************************" +[ -x `which magisk` ] && { +if magisk --denylist ls &>/dev/null; then +CMDPREFIX="magisk --denylist exec" +elif magisk magiskhide ls &>/dev/null; then +CMDPREFIX="magisk magiskhide exec" fi -[ -x "$(which magisk)" ] && CMDPREFIX="magisk --denylist exec" || unset CMDPREFIX +} || unset CMDPREFIX CHECK_DIRS="/system /vendor /product /system_ext" EXISTING_DIRS="" for dir in $CHECK_DIRS; do diff --git a/module.prop b/module.prop index 3e52560..2258abb 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=wifi-bonding name=Wifi Bonding (Qcom) -version=1.16 -versionCode=17 +version=1.17 +versionCode=18 author=simonsmh description=Doubles your wi-fi bandwith by modifying WCNSS_qcom_cfg.ini. updateJson=https://cdn.jsdelivr.net/gh/Magisk-Modules-Repo/wifi-bonding/version.json diff --git a/version.json b/version.json index 7d29ae8..08c0e5e 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { - "version": "1.16", - "versionCode": 17, - "zipUrl": "https://github.com/Magisk-Modules-Repo/wifi-bonding/releases/download/17/wifi_bonding.zip", + "version": "1.17", + "versionCode": 18, + "zipUrl": "https://github.com/Magisk-Modules-Repo/wifi-bonding/releases/download/18/wifi_bonding.zip", "changelog": "https://cdn.jsdelivr.net/gh/Magisk-Modules-Repo/wifi-bonding/README.md" }