Files
SocksRevive-PC/scripts/build_linux.sh
2026-05-16 00:18:06 -03:00

9 lines
237 B
Bash

#!/usr/bin/env bash
set -euo pipefail
mkdir -p dist
export CGO_ENABLED=1
go mod tidy
go build -trimpath -ldflags "-s -w" -o dist/socksrevivepc ./cmd/socksrevivepc
echo "Built dist/socksrevivepc"
echo "Run with sudo when using TUN mode."