fix: 保留 appList.txt 上传

This commit is contained in:
RainySY
2026-05-12 15:49:28 +08:00
parent c7920acd0c
commit 6fb53d7f11

View File

@@ -495,7 +495,7 @@ upload_remote() {
local list_file="$TMPDIR/.rlist"
local dirs_file="$TMPDIR/.rdirs"
[[ -z $Backup ]] && { echoRgb "Backup路徑為空" "0"; return 1; }
find "$Backup" -type f ! -path "*/tools/*" ! -name 'start.sh' ! -name 'appList.txt' ! -name 'restore_settings.conf' > "$list_file"
find "$Backup" -type f ! -path "*/tools/*" ! -name 'start.sh' ! -name 'restore_settings.conf' > "$list_file"
# 提取所有目錄並在遠程創建 (WebDAV MKCOL, SMB 跳過)
if [[ $proto = webdav ]]; then
while read -r f; do