更新 OpenWrt/upload.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
22c473efae
commit
9540a78779
@ -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 "✅ 下载和重命名完成"
|
Loading…
Reference in New Issue
Block a user