update go-glitch build process and install.sh
This commit is contained in:
parent
4bbb288bcb
commit
9b67ff3574
|
@ -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..."
|
||||
|
||||
|
|
Loading…
Reference in New Issue