update 2023-04-15 09:14:36

This commit is contained in:
github-actions[bot] 2023-04-15 09:14:36 +08:00
parent f166c1b994
commit 7b0e045bc5
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ LUCI_PKGARCH:=all
PKG_NAME:=luci-app-unblockneteasemusic PKG_NAME:=luci-app-unblockneteasemusic
PKG_VERSION:=2.14 PKG_VERSION:=2.14
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org> PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>

View File

@ -26,7 +26,7 @@ clean_log(){
check_core_latest_version() { check_core_latest_version() {
core_latest_ver="$(wget -qO- 'https://api.github.com/repos/UnblockNeteaseMusic/server/commits?sha=enhanced&path=precompiled' | jsonfilter -e '@[0].sha')" core_latest_ver="$(wget -qO- 'https://api.github.com/repos/UnblockNeteaseMusic/server/commits?sha=enhanced&path=precompiled' | jsonfilter -e '@[0].sha')"
[ -n "$core_latest_ver" ] || { echo -e "\nFailed to check latest core version, please try again later." >> "$LOG"; rm -f "$LOCK"; exit 1; } [ -n "$core_latest_ver" ] || { echo -e "\nFailed to check latest core version, please try again later." >> "$LOG"; rm -f "$LOCK"; exit 1; }
if [ ! -e "$$UNM_DIR/core_local_ver" ]; then if [ ! -e "$UNM_DIR/core_local_ver" ]; then
clean_log clean_log
echo -e "Local version: NOT FOUND, latest version: $core_latest_ver." >> "$LOG" echo -e "Local version: NOT FOUND, latest version: $core_latest_ver." >> "$LOG"
update_core update_core