Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
artifact_name: x86
- os: macos-latest
artifact_name: arm64
- os: macos-15-intel
artifact_name: macos_x86
- os: ubuntu-latest
artifact_name: windows
target: x86_64-pc-windows-gnu
Expand Down
9 changes: 6 additions & 3 deletions install_beast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ CURRENT_TAG=$(curl -s -L \
https://api.github.com/repos/yetanotherco/zk_arcade/releases/latest \
| grep '"tag_name":' | awk -F'"' '{print $4}')
RELEASE_URL="https://github.com/yetanotherco/zk_arcade/releases/download/$CURRENT_TAG/"
OS=$(uname -s)
ARCH=$(uname -m)

if [ "$ARCH" == "x86_64" ]; then
if [ "$OS" == "Linux" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_x86"
elif [ "$ARCH" == "arm64" ]; then
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "arm64" ]; then
FILE="beast_arm64"
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_macos_x86"
else
echo "Unsupported architecture: $ARCH"
echo "Unsupported OS/architecture combination: $OS/$ARCH"
exit 1
fi

Expand Down
9 changes: 6 additions & 3 deletions install_beast_cloudflare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ BEAST_BIN_DIR="$BEAST_DIR/bin"
BEAST_BIN_PATH="$BEAST_BIN_DIR/beast"
CURRENT_VERSION="v1_0_1"
RELEASE_URL="https://downloads.zkarcade.com/$CURRENT_VERSION/"
OS=$(uname -s)
ARCH=$(uname -m)

if [ "$ARCH" == "x86_64" ]; then
if [ "$OS" == "Linux" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_x86"
elif [ "$ARCH" == "arm64" ]; then
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "arm64" ]; then
FILE="beast_arm64"
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_macos_x86"
else
echo "Unsupported architecture: $ARCH"
echo "Unsupported OS/architecture combination: $OS/$ARCH"
exit 1
fi

Expand Down
13 changes: 8 additions & 5 deletions install_beast_sepolia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ CURRENT_TAG=$(curl -s -L \
https://api.github.com/repos/yetanotherco/zk_arcade/releases/latest \
| grep '"tag_name":' | awk -F'"' '{print $4}')
RELEASE_URL="https://github.com/yetanotherco/zk_arcade/releases/download/$CURRENT_TAG/"
OS=$(uname -s)
ARCH=$(uname -m)

if [ "$ARCH" == "x86_64" ]; then
FILE="beast_sepolia_x86"
elif [ "$ARCH" == "arm64" ]; then
FILE="beast_sepolia_arm64"
if [ "$OS" == "Linux" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_x86"
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "arm64" ]; then
FILE="beast_arm64"
elif [ "$OS" == "Darwin" ] && [ "$ARCH" == "x86_64" ]; then
FILE="beast_macos_x86"
else
echo "Unsupported architecture: $ARCH"
echo "Unsupported OS/architecture combination: $OS/$ARCH"
exit 1
fi

Expand Down