#!/bin/bash # # Build Project # # 构建主程序 GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o bin/tunnel src/*.go && upx -9 bin/tunnel # 处理进程参数 gcc -Wall -Os -g cmdline/cmdline.c -o bin/cmdline -static # 解密程序 gcc -Wall tp_decrypt/tp_decrypt.py.c -o bin/tp_decrypt -static