From 80358a6c91d20781cf29cb405a9efde2535d8515 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Thu, 11 Dec 2025 16:18:49 +0800 Subject: [PATCH] Fix scan error --- lib/clean/apps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clean/apps.sh b/lib/clean/apps.sh index 3c9c778..13cc837 100644 --- a/lib/clean/apps.sh +++ b/lib/clean/apps.sh @@ -132,7 +132,7 @@ clean_orphaned_app_data() { # Read bundle IDs with PlistBuddy local count=0 - for app_path in "${app_paths[@]}"; do + for app_path in "${app_paths[@]:-}"; do local plist_path="$app_path/Contents/Info.plist" [[ ! -f "$plist_path" ]] && continue