You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
fix: update fail
reference: github.com/bindhosts/bindhosts/commit/7aacf5afacd019353f788991f47afa1382ccff6b github.com/bindhosts/bindhosts/commit/c1bcc06869da5255c0766dc8c2072bb98e1acd6b Co-Authored-By: backslashxx <118538522+backslashxx@users.noreply.github.com>
This commit is contained in:
@@ -17,3 +17,10 @@ fi
|
||||
|
||||
[ -L "$TS/webroot" ] && rm -f "$TS/webroot"
|
||||
[ -L "$TS/action.sh" ] && rm -f "$TS/action.sh"
|
||||
|
||||
# detect root manager
|
||||
[ "$APATCH" = "true" ] && MANAGER="APATCH"
|
||||
[ "$KSU" = "true" ] && MANAGER="KSU"
|
||||
[ ! "$APATCH" = "true" ] && [ ! "$KSU" = "true" ] && MANAGER="MAGISK"
|
||||
echo "MANAGER=$MANAGER" > "$MODPATH/common/manager.sh"
|
||||
chmod 755 "$MODPATH/common/manager.sh"
|
||||
|
||||
Reference in New Issue
Block a user