Skip to content

Commit

Permalink
use goversioninfo for show logo and version
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 20, 2024
1 parent 3f6f72e commit 376722f
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
- name: Build
run: |
mkdir -p build_assets
echo 'hello.ref=${{ github.ref }}'
echo 'hello.ref_name=${{ github.ref_name }}'
go generate
echo 'hello.ref_name=${{ github.ref_name }}'
go generate ./main
mkdir -p build_assets
go build -v -o build_assets/v2raypool -trimpath -ldflags "-s -w -linkmode internal -buildid= -X 'main.AppVersion=${{ github.ref_name }}' -X 'main.GoVersion=`go version`'" ./main
- name: Rename Windows File
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
go.sum
*.BK
*.exe
*.zip
*.zip
build_assets/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 升级日志

### v1.7.2

- 添加应用图标和软件信息

### v1.7.0

- 更新配置组件
Expand Down
27 changes: 24 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,34 @@
<div align="center">
<p>
<img style="width:200px" alt="V2rayPool" src="https://raw.githubusercontent.com/iotames/v2raypool/master/main/resource/v2raypool.logo.png">
</p>
<strong>简单易用的v2ray客户端和代理池服务</strong>
<br>

</div>


## 简介

- 同时接入多个v2ray节点,使用多个本地端口,组成简单的IP代理池服务。可供爬虫等程序调用。
[![GoDoc](https://badgen.net/badge/Go/referenct)](https://pkg.go.dev/github.com/iotames/miniutils)
[![License](https://badgen.net/badge/License/MIT/green)](https://github.com/iotames/miniutils/blob/main/LICENSE)

- 可以选一个节点设为系统代理,作为普通的v2ray客户端使用。
- 纯Go语言实现,Linux, Win, IOS 全平台支持
- 同时运行多个v2ray代理,组成IP代理池
- 使用gRPC接口控制和WebUI网页交互

- 提供通用gRPC控制接口,参看数据定义文件 `v2raypool.proto`
`gRPC` 接口请参照数据定义文件: `v2raypool.proto`

[项目文档: https://iotames.github.io/v2raypool/](https://iotames.github.io/v2raypool/)


## 用途

1. 多个本地监听端口,组成简单的IP代理池。可供爬虫等程序调用。
2. 选择单个节点设为系统代理,可作为普通的v2ray客户端使用。



## 用户界面

提供 `gRPC接口``Web网页` 两种交互方式。
Expand Down
2 changes: 1 addition & 1 deletion docs/coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- ![logo](_media/icon.svg) -->

# V2rayPool <small>v1.7.0</small>
# V2rayPool <small>v1.7.2</small>

> 简单易用的v2ray客户端和代理池服务
Expand Down
4 changes: 2 additions & 2 deletions main/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:generate goversioninfo resource/versioninfo.json
//go:generate goversioninfo versioninfo.json

package main

Expand All @@ -7,7 +7,7 @@ import (
"fmt"
)

var AppVersion = "v1.7.1"
var AppVersion = "v1.7.2"
var GoVersion = "go version go1.19.4 windows/amd64"

func main() {
Expand Down
Binary file added main/resource/v2raypool.logo.ico
Binary file not shown.
Binary file added main/resource/v2raypool.logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions main/resource/versioninfo.json → main/versioninfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"FixedFileInfo": {
"FileVersion": {
"Major": 1,
"Minor": 0,
"Patch": 0,
"Minor": 7,
"Patch": 2,
"Build": 0
},
"ProductVersion": {
"Major": 1,
"Minor": 0,
"Patch": 0,
"Minor": 7,
"Patch": 2,
"Build": 0
},
"FileFlagsMask": "3f",
Expand All @@ -21,15 +21,15 @@
"StringFileInfo": {
"Comments": "",
"CompanyName": "",
"FileDescription": "",
"FileVersion": "",
"FileDescription": "简单易用的v2ray客户端和代理池服务",
"FileVersion": "v1.7.2",
"InternalName": "",
"LegalCopyright": "",
"LegalTrademarks": "",
"OriginalFilename": "",
"PrivateBuild": "",
"ProductName": "V2rayPool",
"ProductVersion": "v1.7.0",
"ProductVersion": "v1.7.2",
"SpecialBuild": ""
},
"VarFileInfo": {
Expand All @@ -38,6 +38,6 @@
"CharsetID": "04B0"
}
},
"IconPath": "resource/go.logo.ico",
"IconPath": "resource/v2raypool.logo.ico",
"ManifestPath": ""
}

0 comments on commit 376722f

Please sign in to comment.