diff --git a/OpenWrt/upload.sh b/OpenWrt/upload.sh index 3098aaa..bc4e825 100644 --- a/OpenWrt/upload.sh +++ b/OpenWrt/upload.sh @@ -44,12 +44,6 @@ for url in $ASSETS; do done # 重命名文件 -for file in openwrt*; do - if [ -e "$file" ]; then - newname="zerowrt-plus-${DATE_VERSION}${file#openwrt}" - echo "重命名: $file → $newname" - mv -- "$file" "$newname" - fi -done +rename 's/^openwrt/zerowrt-plus-$date/' openwrt* echo "✅ 下载和重命名完成" \ No newline at end of file