Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
natsumerinchan authored Jul 15, 2022
1 parent f252607 commit 2b3c81b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ else
SYSTEM_ARCH=x86
fi

geco "[INFO] -SDK: $SDK"
geco "[INFO] -API_Level: $SDK"
geco "[INFO] -Platform: $SYSTEM_ARCH"

# Ensure Android version
if test "$SDK" -lt "$HOUDINI_API"; then
geco "\n[!!!] This package only supports Android11." && exit 101
geco "\n[!!!] API_Level could not lower than $HOUDINI_API." && exit 101
fi

# Ensure Device Architecture
if test "$SYSTEM_ARCH" != "$HOUDINI_ARCH"; then
geco "\n[!!!] Unsupport Platform: -$SYSTEM_ARCH ;This package only supports x86_64 devices!" && exit 101
geco "\n[!!!] This package only supports $HOUDINI_ARCH devices!" && exit 101
fi

# Before installation
Expand Down

0 comments on commit 2b3c81b

Please sign in to comment.