Skip to content

Commit

Permalink
发行 1.7版本
Browse files Browse the repository at this point in the history
  • Loading branch information
dengsgo committed Jan 24, 2019
1 parent 4e9eecd commit 0cd4bea
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### Release v1.7

2019.01.24

- 修复 time 内存
- 修复 某些情况下cmd异常导致进程挂掉的问题



### Release v1.6

2019.01.19
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ go version >=1.10,推荐 1.11

### 下载二进制文件

Github: [正式版 v1.6](https://github.com/dengsgo/fileboy/releases)
Gitee: [正式版 v1.6](https://gitee.com/dengsgo/fileboy/releases)
Github: [正式版 v1.7](https://github.com/dengsgo/fileboy/releases)
Gitee: [正式版 v1.7](https://gitee.com/dengsgo/fileboy/releases)

下载已经编译好的对应平台二进制文件,重命名为`fileboy`, 加入系统 Path 中即可。

Expand Down Expand Up @@ -125,7 +125,7 @@ notifier:
# 请求超时 15 秒
# POST 格式:
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.6
# User-Agent: FileBoy Net Notifier v1.7
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# 例: http://example.com/notifier/fileboy-listener
# 不启用通知,请留空 ""
Expand Down
2 changes: 1 addition & 1 deletion notifer.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (n *NetNotifier) dispatch(params *postParams) {
return
}
req.Header.Set("Content-Type", "application/json;charset=UTF-8")
req.Header.Set("User-Agent", "FileBoy Net Notifier v1.6")
req.Header.Set("User-Agent", "FileBoy Net Notifier v1.7")
resp, err := client.Do(req)
if err != nil {
log.Println(PreError, "notifier call failed. err:", err)
Expand Down
8 changes: 4 additions & 4 deletions raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ notifier:
# 请求超时 15 秒
# POST 格式:
# Content-Type: application/json;charset=UTF-8
# User-Agent: FileBoy Net Notifier v1.6
# User-Agent: FileBoy Net Notifier v1.7
# Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"}
# 例: http://example.com/notifier/fileboy-listener
# 不启用通知,请留空 ""
Expand Down Expand Up @@ -104,13 +104,13 @@ var logo = `
_____ _ | | _____ ____) ) | | | |___| |
| ___) | | | | | ___) | __ (| | | |\_____/
| | _| |_| |_____| |_____| |__) ) |___| | ___
|_| (_____)_______)_______)______/ \_____/ (___) V1.6
|_| (_____)_______)_______)______/ \_____/ (___) V1.7
`
var statement = `Dengsgo [[email protected]] Open Source with MIT License`

var versionDesc = `
Version fileboy: v1.6 filegirl: v` + strconv.Itoa(Version) + `
Released 2019.1.19
Version fileboy: v1.7 filegirl: v` + strconv.Itoa(Version) + `
Released 2019.1.24
Licence MIT
Author dengsgo [[email protected]]
Website https://github.com/dengsgo/fileboy
Expand Down

0 comments on commit 0cd4bea

Please sign in to comment.