1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 17:55:08 +00:00

fix: stop cleaning aerial wallpaper assets by default

This commit is contained in:
Tw93
2026-03-17 16:35:10 +08:00
parent ea4cd9d0e3
commit e1f427c9aa
2 changed files with 2 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ EOF
[[ "$output" == *"SPIN_START:Scanning app caches..."* ]]
}
@test "clean_support_app_data targets crash, wallpaper, and messages preview caches only" {
@test "clean_support_app_data targets crash, idle assets, and messages preview caches only" {
local support_home="$HOME/support-cache-home-1"
run env HOME="$support_home" PROJECT_ROOT="$PROJECT_ROOT" bash --noprofile --norc <<'EOF'
set -euo pipefail
@@ -141,6 +141,7 @@ EOF
[ "$status" -eq 0 ]
[[ "$output" == *"FIND:$support_home/Library/Application Support/CrashReporter:30:f"* ]]
[[ "$output" == *"FIND:$support_home/Library/Application Support/com.apple.idleassetsd:30:f"* ]]
[[ "$output" != *"Aerial wallpaper videos"* ]]
[[ "$output" == *"Messages sticker cache"* ]]
[[ "$output" == *"Messages preview attachment cache"* ]]
[[ "$output" == *"Messages preview sticker cache"* ]]