update install
ae837414
1 file(s) · +4 −4
| 1 | 1 | #!/usr/bin/env bash |
|
| 2 | 2 | set -euo pipefail |
|
| 3 | 3 | ||
| 4 | - | GITHUB_REPO="https://github.com/stevedylandev/cast-cli" |
|
| 5 | - | CLI_NAME="cast" |
|
| 4 | + | GITHUB_REPO="https://github.com/stevedylandev/mast-cli" |
|
| 5 | + | CLI_NAME="mast" |
|
| 6 | 6 | ||
| 7 | 7 | INSTALL_DIR="$HOME/.local/share" |
|
| 8 | - | BIN_DIR="$INSTALL_DIR/cast" |
|
| 8 | + | BIN_DIR="$INSTALL_DIR/mast" |
|
| 9 | 9 | ||
| 10 | 10 | # Color codes for output |
|
| 11 | 11 | RED='\033[0;31m' |
|
| 62 | 62 | # Download and install the CLI |
|
| 63 | 63 | install_cli() { |
|
| 64 | 64 | local platform=$1 |
|
| 65 | - | local download_url="${GITHUB_REPO}/releases/latest/download/cast-cli_${platform}.tar.gz" |
|
| 65 | + | local download_url="${GITHUB_REPO}/releases/latest/download/mast-cli_${platform}.tar.gz" |
|
| 66 | 66 | local temp_dir=$(mktemp -d) |
|
| 67 | 67 | ||
| 68 | 68 | echo "Downloading ${CLI_NAME}..." |
|