Skip to content

Commit

Permalink
v3.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
iikira committed Sep 8, 2018
1 parent 146218f commit 4f4e95b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/RELEASE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 更新日志:

1. 修复若干问题;
2. 支持2gb以上的文件上传了;
3. 支持多个文件并行下载;
4. 增加清空控制台命令;
5. 支持搜索文件;
1. 修复上传的崩溃问题;
2. 修复无法查询离线下载任务列表;
3. 修复取消分享失败;
4. 支持下载完成后自动校验文件;
5. 支持调整上传和下载的重试次数;

个人项目bug在所难免! 欢迎提 issue 和 pull request!!.

Expand Down
11 changes: 7 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
name="BaiduPCS-Go"
version=$1

GOROOT=/usr/local/go1.10.4
go=$GOROOT/bin/go

if [ "$1" = "" ];then
version=v3.5.4
version=v3.5.5
fi

output="out/"
Expand All @@ -19,10 +22,10 @@ Build() {
export GOOS=$2 GOARCH=$3 GO386=sse2 CGO_ENABLED=0 GOARM=$4
if [ $2 = "windows" ];then
goversioninfo -icon=assets/$name.ico -manifest="$name".exe.manifest -product-name="$name" -file-version="$version" -product-version="$version" -company=iikira -copyright="© 2016-2018 iikira." -o=resource_windows.syso
go build -ldflags "-X main.Version=$version -s -w" -o "$output/$1/$name.exe"
$go build -ldflags "-X main.Version=$version -s -w" -o "$output/$1/$name.exe"
RicePack $1 $name.exe
else
go build -ldflags "-X main.Version=$version -s -w" -o "$output/$1/$name"
$go build -ldflags "-X main.Version=$version -s -w" -o "$output/$1/$name"
RicePack $1 $name
fi

Expand All @@ -32,7 +35,7 @@ Build() {
ArmBuild() {
echo "Building $1..."
export GOOS=$2 GOARCH=$3 GOARM=$4 CGO_ENABLED=1
go build -ldflags "-X main.Version=$version -s -w -linkmode=external -extldflags=-pie" -o "$output/$1/$name"
$go build -ldflags "-X main.Version=$version -s -w -linkmode=external -extldflags=-pie" -o "$output/$1/$name"
if [ $2 = "darwin" ] && [ $3 = "arm" -o $3 = "arm64" ];then
# cp Info.plist "$output/$1"
ldid -S "$output/$1/$name"
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

var (
// Version 版本号
Version = "v3.5.4-devel"
Version = "v3.5.5-devel"

historyFilePath = filepath.Join(pcsconfig.GetConfigDir(), "pcs_command_history.txt")
reloadFn = func(c *cli.Context) error {
Expand Down Expand Up @@ -1064,7 +1064,7 @@ func main() {
cli.IntFlag{
Name: "retry",
Usage: "下载失败最大重试次数",
Value: 3,
Value: pcscommand.DefaultDownloadMaxRetry,
},
cli.BoolFlag{
Name: "nocheck",
Expand Down Expand Up @@ -1163,7 +1163,7 @@ func main() {
cli.IntFlag{
Name: "retry",
Usage: "上传失败最大重试次数",
Value: 3,
Value: pcscommand.DefaultUploadMaxRetry,
},
cli.BoolFlag{
Name: "norapid",
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": 4,
"Patch": 5,
"Build": 0
},
"ProductVersion": {
"Major": 3,
"Minor": 5,
"Patch": 4,
"Patch": 5,
"Build": 0
},
"FileFlagsMask": "3f",
Expand All @@ -22,14 +22,14 @@
"Comments": "",
"CompanyName": "iikira",
"FileDescription": "百度网盘客户端",
"FileVersion": "v3.5.4",
"FileVersion": "v3.5.5",
"InternalName": "",
"LegalCopyright": "© 2016-2018 iikira.",
"LegalTrademarks": "",
"OriginalFilename": "",
"PrivateBuild": "",
"ProductName": "BaiduPCS-Go",
"ProductVersion": "v3.5.4",
"ProductVersion": "v3.5.5",
"SpecialBuild": ""
},
"VarFileInfo": {
Expand Down

0 comments on commit 4f4e95b

Please sign in to comment.