docs: Add 6, update 4 and remove 2 files
This commit is contained in:
@@ -11,7 +11,13 @@ ARCH=$(uname -m)
|
||||
TARGET_PATH="${HOME}/.local/bin/dropshell"
|
||||
[ ! -f "${TARGET_PATH}" ] || rm -f "${TARGET_PATH}"
|
||||
mkdir -p "$(dirname "${TARGET_PATH}")"
|
||||
curl -L -s -o "${TARGET_PATH}" "https://getbin.xyz/dropshell.${ARCH}" || die "Failed to download dropshell for ${ARCH}"
|
||||
|
||||
# Download using the latest-${ARCH} tag format
|
||||
echo "Downloading dropshell for ${ARCH}..."
|
||||
curl -L -s -o "${TARGET_PATH}" "https://getbin.xyz/dropshell:latest-${ARCH}" || {
|
||||
echo "Failed to download dropshell for ${ARCH}" >&2
|
||||
exit 1
|
||||
}
|
||||
chmod +x "${TARGET_PATH}"
|
||||
echo "dropshell installed successfully to $TARGET_PATH"
|
||||
echo " "
|
||||
|
Reference in New Issue
Block a user