更换库
This commit is contained in:
16
build.sh
16
build.sh
@@ -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
|
||||
Reference in New Issue
Block a user