更换库

This commit is contained in:
2023-03-25 09:06:37 +08:00
parent 4878a9e21f
commit 1f251c8b1c
16 changed files with 677 additions and 411 deletions

View File

@@ -1,2 +1,16 @@
#!/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
CGO_ENABLED=0 go build -ldflags '-w -s' -o bin/db_tunnel src/main.go && upx -9 bin/db_tunnel