Skip to content

Commit e3fc300

Browse files
authored
Update install.sh
1 parent f232eb9 commit e3fc300

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ detect_arch() {
99
aarch64)
1010
echo "android-arm64"
1111
;;
12+
x86_64)
13+
echo "android-x86_64"
14+
;;
1215
*)
1316
echo "Unsupported architecture. Please create an issue on GitHub, and we will consider providing a binary for your architecture."
1417
exit 1
@@ -27,7 +30,7 @@ download_binary() {
2730
# Download the binary
2831
echo "Downloading $FILE_NAME for $ARCH architecture..."
2932
if ! curl --progress-bar --fail -L "$DOWNLOAD_URL" -o "$FILE_NAME"; then
30-
echo "Failed to download the binary!"
33+
echo "Failed to download the binary! Please check the URL and your connection: $DOWNLOAD_URL"
3134
exit 1
3235
fi
3336

@@ -37,6 +40,7 @@ download_binary() {
3740
chmod +x "$PREFIX/bin/axs"
3841

3942
echo "Binary downloaded and installed as 'axs'. You can now use the 'axs' command!"
43+
echo "Make sure '$PREFIX/bin' is in your PATH."
4044
}
4145

4246
download_binary

0 commit comments

Comments
 (0)