From 0a632c0a227b09597d3ba925a7137b81dc761bd9 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Wed, 14 Jan 2026 11:26:24 +0800 Subject: [PATCH] fix: protect Firefox browser data from cleaning Fixes #307 - Add Firefox to DATA_PROTECTED_BUNDLES to prevent cleaning - Protects IndexedDB, localStorage, and other complex storage - Prevents Gmail and other web apps from breaking after clean --- lib/core/app_protection.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/core/app_protection.sh b/lib/core/app_protection.sh index 5822c6a..12d2ae8 100755 --- a/lib/core/app_protection.sh +++ b/lib/core/app_protection.sh @@ -414,6 +414,10 @@ readonly DATA_PROTECTED_BUNDLES=( "tv.plex.player.desktop" # Plex "com.netease.163music" # NetEase Music + # Web Browsers (protect complex storage like IndexedDB, localStorage) + "Firefox" # Firefox Application Support + "org.mozilla.*" # Firefox bundle IDs + # License Management & App Stores "com.paddle.Paddle*" # Paddle (license management) "com.setapp.DesktopClient" # Setapp