Add paw print emoji to install.sh status messages
This commit is contained in:
parent
9e4629ac2f
commit
7ea806b778
|
|
@ -7,13 +7,13 @@ ARCH=$(uname -m)
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
darwin) OS=macos ;;
|
darwin) OS=macos ;;
|
||||||
linux) OS=linux ;;
|
linux) OS=linux ;;
|
||||||
*) echo "Unsupported OS: $OS" >&2; exit 1 ;;
|
*) echo "🐾 Unsupported OS: $OS" >&2; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$ARCH" in
|
case "$ARCH" in
|
||||||
x86_64) ARCH=x64 ;;
|
x86_64) ARCH=x64 ;;
|
||||||
arm64|aarch64) ARCH=arm64 ;;
|
arm64|aarch64) ARCH=arm64 ;;
|
||||||
*) echo "Unsupported arch: $ARCH" >&2; exit 1 ;;
|
*) echo "🐾 Unsupported arch: $ARCH" >&2; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
BINARY="toes-${OS}-${ARCH}"
|
BINARY="toes-${OS}-${ARCH}"
|
||||||
|
|
@ -28,11 +28,11 @@ else
|
||||||
fi
|
fi
|
||||||
mkdir -p "$INSTALL_DIR"
|
mkdir -p "$INSTALL_DIR"
|
||||||
|
|
||||||
echo "Downloading toes CLI (${OS}/${ARCH})..."
|
echo "🐾 Downloading toes CLI (${OS}/${ARCH})..."
|
||||||
curl -fsSL "$URL" -o "$INSTALL_DIR/toes"
|
curl -fsSL "$URL" -o "$INSTALL_DIR/toes"
|
||||||
chmod +x "$INSTALL_DIR/toes"
|
chmod +x "$INSTALL_DIR/toes"
|
||||||
echo "Installed toes to $INSTALL_DIR/toes"
|
echo "🐾 Installed toes to $INSTALL_DIR/toes"
|
||||||
|
|
||||||
if ! echo "$PATH" | tr ':' '\n' | grep -qx "$INSTALL_DIR"; then
|
if ! echo "$PATH" | tr ':' '\n' | grep -qx "$INSTALL_DIR"; then
|
||||||
echo "Add $INSTALL_DIR to your PATH to use toes globally"
|
echo "🐾 Add $INSTALL_DIR to your PATH to use toes globally"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user