Skip to content

Commit

Permalink
feat: add version
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jan 26, 2024
1 parent 76dec9b commit 50dbcb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
# INFO function use(log output): INFO "xxxx"
# WARN function use(log output): WARN "xxxx"
# ERROR function use(log output): ERROR "xxxx"

#
# ——————————————————————————————————————————————————————————————————————————————————
#
DATE_VERSION="v1.0.0-2024_01_26_18_21"
#
# ——————————————————————————————————————————————————————————————————————————————————

Blue="\033[34m"
Green="\033[32m"
Expand Down Expand Up @@ -1537,7 +1542,7 @@ function main_advanced_configuration(){
}

function main_return(){
curl -sL https://ddsrem.com/xiaoya/xiaoya_alist
curl -sL https://ddsrem.com/xiaoya/xiaoya_alist | sed "s/DATE_VERSION/${DATE_VERSION}/g"
echo -e "1、安装/更新/卸载 小雅Alist"
echo -e "2、安装/卸载 小雅Emby全家桶"
echo -e "3、安装/更新/卸载 小雅助手(xiaoyahelper)"
Expand Down
2 changes: 1 addition & 1 deletion xiaoya_alist
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ __ ___ _ _ _

Copyright (c) 2023 DDSRem <https://blog.ddsrem.com>

Version: DATE_TIME
Version: DATE_VERSION

This is free software, licensed under the Mit License.

Expand Down

0 comments on commit 50dbcb3

Please sign in to comment.