1
1
Fork 0

update go-glitch build process and install.sh

This commit is contained in:
Colin 2024-06-11 17:12:53 -04:00
parent 4bbb288bcb
commit 9b67ff3574
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
INSTALL_DIR="/usr/local/bin"
BINARY_NAME="go-glitch"
BASE_URL="https://git.nixc.us/Nixius/go-glitch/raw/branch/main/dist"
BASE_URL="https://git.nixc.us/nixius/go-glitch/raw/branch/main/dist"
# Supported architectures
ARCHITECTURES=("linux/amd64" "linux/arm64" "linux/arm/v7" "darwin/amd64" "darwin/arm64")
@ -17,7 +17,7 @@ case $ARCH in
*) echo "Unsupported architecture: $ARCH"; exit 1 ;;
esac
BINARY_URL="${BASE_URL}/oculus_${OS}_${ARCH}"
BINARY_URL="${BASE_URL}/${BINARY_NAME}_${OS}_${ARCH}"
echo "Downloading and installing $BINARY_NAME from $BINARY_URL..."