@echo off
REM Set the environment variables for cross-compilation
set GOOS=linux
set GOARCH=amd64

REM Build the Go program
go build -o zoraxy_linux_amd64

REM Check if the build was successful
if %ERRORLEVEL% neq 0 (
    echo Build failed.
    exit /b %ERRORLEVEL%
)

echo Build succeeded. The output file is zoraxy_linux_amd64.