mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 08:44:29 +00:00
chore: bump version to 0.0.3
This commit is contained in:
parent
faf0718678
commit
9fabb931ff
@ -13,10 +13,11 @@ UA3F 是新一代 HTTP User-Agent 修改方法,对外作为一个 SOCK5 服务
|
||||
参数:
|
||||
- `-p <port>`: 端口号,默认 1080
|
||||
- `-f <UA>`: 自定义 UA,默认 FFF
|
||||
- `-b <bind addr>`: 自定义绑定监听地址,默认 127.0.0.1
|
||||
|
||||
### 手动启动
|
||||
```bash
|
||||
ua3f -p <port> -f <UA>
|
||||
ua3f -p <port> -f <UA> -b <bind addr>
|
||||
```
|
||||
|
||||
### 作为后台服务运行
|
||||
|
||||
2
build.sh
2
build.sh
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
project_name="ua3f"
|
||||
release_version="0.0.2"
|
||||
release_version="0.0.3"
|
||||
|
||||
release_dir=./release
|
||||
rm -rf $release_dir/*
|
||||
|
||||
2
main.go
2
main.go
@ -28,7 +28,7 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
printAndLog("UA3F v0.0.2", logger, syslog.LOG_INFO)
|
||||
printAndLog("UA3F v0.0.3", logger, syslog.LOG_INFO)
|
||||
printAndLog(fmt.Sprintf("Port: %d", port), logger, syslog.LOG_INFO)
|
||||
printAndLog(fmt.Sprintf("User-Agent: %s", payload), logger, syslog.LOG_INFO)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user