Skip to content

Commit

Permalink
v3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iikira committed May 9, 2018
1 parent 82a530c commit cf5d2a1
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ BaiduPCS-Go ls <目录>
# 列出 我的资源 内的文件和目录
BaiduPCS-Go ls 我的资源
# 绝对路径
BaiduPCS-Go ls /我的资源
# 降序排序
BaiduPCS-Go ls -desc 我的资源
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name="BaiduPCS-Go"
version=$1

if [ "$1" = "" ];then
version=v3.5
version=v3.5.1
fi

output="out/"
Expand Down Expand Up @@ -34,7 +34,7 @@ ArmBuild() {
export GOOS=$2 GOARCH=$3 GOARM=$4 CGO_ENABLED=1
go build -ldflags '-s -w -linkmode=external -extldflags=-pie' -o "$output/$1/$name"
if [ $2 = "darwin" ] && [ $3 = "arm" -o $3 = "arm64" ];then
cp Info.plist "$output/$1"
# cp Info.plist "$output/$1"
ldid -S "$output/$1/$name"
fi

Expand Down
2 changes: 1 addition & 1 deletion debian/iphoneos-arm/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: BaiduPCS-Go
Version: 3.5
Version: 3.5.1
Homepage: https://github.com/iikira/BaiduPCS-Go
Section: 实用工具
Priority: optional
Expand Down
2 changes: 1 addition & 1 deletion internal/pcsupdate/pcsupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func CheckUpdate(version string, yes bool) {
continue
}

if fileInfo.Isdir == 1 {
if fileInfo.Isdir == 1 || !strings.HasPrefix(fileInfo.Filename, "v") {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

var (
// Version 版本号
Version = "v3.5"
Version = "v3.5.1"

historyFilePath = filepath.Join(pcsconfig.GetConfigDir(), "pcs_command_history.txt")
reloadFn = func(c *cli.Context) error {
Expand Down
Binary file modified resource_windows.syso
Binary file not shown.
8 changes: 4 additions & 4 deletions versioninfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"FileVersion": {
"Major": 3,
"Minor": 5,
"Patch": 0,
"Patch": 1,
"Build": 0
},
"ProductVersion": {
"Major": 3,
"Minor": 5,
"Patch": 0,
"Patch": 1,
"Build": 0
},
"FileFlagsMask": "3f",
Expand All @@ -22,14 +22,14 @@
"Comments": "",
"CompanyName": "iikira",
"FileDescription": "百度网盘客户端",
"FileVersion": "v3.5",
"FileVersion": "v3.5.1",
"InternalName": "",
"LegalCopyright": "© 2016-2018 iikira.",
"LegalTrademarks": "",
"OriginalFilename": "",
"PrivateBuild": "",
"ProductName": "BaiduPCS-Go",
"ProductVersion": "v3.5",
"ProductVersion": "v3.5.1",
"SpecialBuild": ""
},
"VarFileInfo": {
Expand Down

0 comments on commit cf5d2a1

Please sign in to comment.