Skip to content

Commit 5f20da1

Browse files
committed
更新脚本,修复自动更新失败的问题
1 parent 9efe833 commit 5f20da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ SCRIPT_NAME="ZFile 管理脚本"
3939
WEB_URL="https://www.zfile.vip"
4040
GITHUB_URL="https://github.com/zfile-dev/zfile"
4141
AUTHOR="Zhao Jun <[email protected]>, QQ: 873019219"
42-
VERSION="1.0.0"
42+
VERSION="1.0.1"
4343

4444
# --------------- 颜色定义及日志 -----------
4545
if [ -t 1 ]; then
@@ -1168,7 +1168,7 @@ update() {
11681168

11691169
# 自更新函数
11701170
self_update() {
1171-
local script_url="https://docs.zfile.vip" # 新版本下载地址
1171+
local script_url="https://docs.zfile.vip/install.sh" # 新版本下载地址
11721172
local tmp_file=$(mktemp /tmp/script.XXXXXX) # 创建临时文件
11731173

11741174
echo "检查更新..."

0 commit comments

Comments
 (0)