Skip to content

Commit

Permalink
del useless codes
Browse files Browse the repository at this point in the history
  • Loading branch information
AkinaAcct committed Oct 3, 2024
1 parent 57db01c commit 6ecab1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions AAP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@ msg_fatal() { # 打印消息 格式: "[FATAL] TIME: MSG"(RED)
# OS 检测
if command -v getprop >/dev/null 2>&1; then
OS="android"
msg_info "OS: ${OS}"
else
OS="linux"
msg_warn "You are using ${OS}. Using this script on ${OS} is still under testing."
fi
# ROOT 检测
if [ "$(id -u)" -eq 0 ]; then
ROOT=true
# 检测到 Magisk Delta/Kitsune 立即退出 越南猴子早该死了 XD
if [ "${OS}" = "android" ]; then
if [ "$(magisk -v | grep "delta")" -o "$(magisk -v | grep "kitsune")" ]; then
msg_fatal "Detected Magisk Deleta/Kitsune: Unsupported environment. Aborted."
Expand Down

0 comments on commit 6ecab1a

Please sign in to comment.