migrate mozilla caches into profiles

This commit is contained in:
Fabian Freund committed 2026-02-18 07:43:21 +01:00
1 parent ccab46384f
commit 4d7c185460
5 files changed
+75 -194

No files matched your search

@@ -65,12 +65,6 @@ class ProfileRepository extends _$ProfileRepository {
return false;
}
// Clean up Mozilla cache directories before deleting the profile
final mozillaProfileIds = filesystem.getMozillaProfileIds(uuid);
for (final profileId in mozillaProfileIds) {
await filesystem.clearMozillaProfileCache(profileId);
}
await filesystem.getProfileDir(uuid).delete(recursive: true);
ref.invalidateSelf();