Skip to content

Commit 9cc729b

Browse files
committed
Bump version to 1.5.0
1 parent 22ec25f commit 9cc729b

File tree

9 files changed

+21
-14
lines changed

9 files changed

+21
-14
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
files = Cargo.toml README.md openwrt/aliyundrive-webdav/Makefile openwrt/luci-app-aliyundrive-webdav/Makefile merlin/config.json.js snap/snapcraft.yaml
33
commit = False
44
tag = False
5-
current_version = 1.4.0
5+
current_version = 1.5.0

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.5.0
6+
7+
* 增加移动端 App refresh token 支持,扫码登录使用 App refresh token.
8+
59
## 1.4.0
610

711
* 命令行增加阿里云盘扫码登录功能

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aliyundrive-webdav"
3-
version = "1.4.0"
3+
version = "1.5.0"
44
edition = "2021"
55
description = "WebDAV server for AliyunDrive"
66
license = "MIT"

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ sudo snap install aliyundrive-webdav
3939
aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:
4040

4141
```bash
42-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.4.0/aliyundrive-webdav_1.4.0-1_aarch64_generic.ipk
43-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.4.0/luci-app-aliyundrive-webdav_1.4.0_all.ipk
44-
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.4.0/luci-i18n-aliyundrive-webdav-zh-cn_1.4.0-1_all.ipk
45-
opkg install aliyundrive-webdav_1.4.0-1_aarch64_generic.ipk
46-
opkg install luci-app-aliyundrive-webdav_1.4.0_all.ipk
47-
opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.4.0-1_all.ipk
42+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/aliyundrive-webdav_1.5.0-1_aarch64_generic.ipk
43+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/luci-app-aliyundrive-webdav_1.5.0_all.ipk
44+
wget https://github.com/messense/aliyundrive-webdav/releases/download/v1.5.0/luci-i18n-aliyundrive-webdav-zh-cn_1.5.0-1_all.ipk
45+
opkg install aliyundrive-webdav_1.5.0-1_aarch64_generic.ipk
46+
opkg install luci-app-aliyundrive-webdav_1.5.0_all.ipk
47+
opkg install luci-i18n-aliyundrive-webdav-zh-cn_1.5.0-1_all.ipk
4848
```
4949

5050
其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见
@@ -120,7 +120,7 @@ services:
120120

121121
```bash
122122
$ aliyundrive-webdav --help
123-
aliyundrive-webdav 1.4.0
123+
aliyundrive-webdav 1.5.0
124124
125125
USAGE:
126126
aliyundrive-webdav [OPTIONS]
@@ -151,6 +151,7 @@ OPTIONS:
151151
> 注意:TLS/HTTPS 暂不支持 MIPS 架构。
152152

153153
### 获取 refresh_token
154+
154155
* 自动获取: 登录[阿里云盘](https://www.aliyundrive.com/drive/)后,控制台粘贴 `JSON.parse(localStorage.token).refresh_token`
155156
![](https://user-images.githubusercontent.com/12248888/150632769-ea6b7a0f-4170-44d6-bafb-92b2a7c1726b.png)
156157

@@ -159,6 +160,8 @@ Application -> Local Storage 中的 `token` 字段中找到。
159160
注意:不是复制整段 JSON 值,而是 JSON 里 `refresh_token` 字段的值,如下图所示红色部分:
160161
![refresh token](./doc/refresh_token.png)
161162

163+
* 使用移动端 App refresh token: 需要在其前增加 `app:` 前缀,如 refresh token 为 `abcd` 则填入 `app:abcd`
164+
162165
## License
163166

164167
This work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.

merlin/config.json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"md5": "c0bac93db83f87293a1e4efb7aa5a97c",
55
"module": "aliyundrivewebdav",
66
"title": "阿里云盘 WebDAV",
7-
"version": "1.4.0"
7+
"version": "1.5.0"
88
}

openwrt/aliyundrive-webdav/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=aliyundrive-webdav
4-
PKG_VERSION:=1.4.0
4+
PKG_VERSION:=1.5.0
55
PKG_RELEASE:=$(AUTORELEASE)
66

77
PKG_LICENSE:=MIT

openwrt/luci-app-aliyundrive-webdav/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=luci-app-aliyundrive-webdav
4-
PKG_VERSION:=1.4.0
4+
PKG_VERSION:=1.5.0
55
PKG_RELEASE:=1
66
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
77

snap/snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: aliyundrive-webdav
2-
version: '1.4.0'
2+
version: '1.5.0'
33
summary: 阿里云盘 WebDAV
44
description: |
55
阿里云盘 WebDAV 服务

0 commit comments

Comments
 (0)