From b4f53087066942536cb320120678e7d6d7e0f5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Fox?= Date: Fri, 20 Nov 2026 05:48:18 +0100 Subject: [PATCH] Delete LibreWolf and Floorp Flatpak profiles with the web app delete_webbapp() removed the profile folders of every Firefox based browser except the LibreWolf and Floorp Flatpaks, so their profiles under ~/.var/app//data were left behind after deleting a web app. --- usr/lib/webapp-manager/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/webapp-manager/common.py b/usr/lib/webapp-manager/common.py index 02e91e77..8f5a4389 100644 --- a/usr/lib/webapp-manager/common.py +++ b/usr/lib/webapp-manager/common.py @@ -253,6 +253,8 @@ def delete_webbapp(self, webapp): shutil.rmtree(os.path.join(FIREFOX_PROFILES_DIR, webapp.codename), ignore_errors=True) shutil.rmtree(os.path.join(FIREFOX_FLATPAK_PROFILES_DIR, webapp.codename), ignore_errors=True) shutil.rmtree(os.path.join(ZEN_FLATPAK_PROFILES_DIR, webapp.codename), ignore_errors=True) + shutil.rmtree(os.path.join(LIBREWOLF_FLATPAK_PROFILES_DIR, webapp.codename), ignore_errors=True) + shutil.rmtree(os.path.join(FLOORP_FLATPAK_PROFILES_DIR, webapp.codename), ignore_errors=True) shutil.rmtree(os.path.join(FIREFOX_SNAP_PROFILES_DIR, webapp.codename), ignore_errors=True) shutil.rmtree(os.path.join(PROFILES_DIR, webapp.codename), ignore_errors=True) # first remove symlinks then others