From 8d7a7eb434b2d83e32fa758db7e6798849bad41c Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Wed, 10 Jul 2024 08:37:59 +0200 Subject: [PATCH] win: support Microsoft Store Firefox installations This commit updates the Windows scripts to handle Firefox installations acquired through the Microsoft Store. It adds support by modifying script functions to clear and delete profile directories specific to this version of Firefox. --- src/application/collections/windows.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index 5e8d46be..513fd937 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -747,6 +747,10 @@ actions: function: ClearDirectoryContents parameters: directoryGlob: '%APPDATA%\Mozilla\Firefox\Profiles' + - # Firefox installations from Microsoft Store + function: ClearDirectoryContents + parameters: + directoryGlob: '%LOCALAPPDATA%\Packages\Mozilla.Firefox_n80bbvh6b1yt2\LocalCache\Roaming\Mozilla\Firefox\Profiles' - name: Clear Opera history (user profiles, settings, and data) call: @@ -25546,6 +25550,10 @@ functions: function: DeleteFiles parameters: fileGlob: '%APPDATA%\Mozilla\Firefox\Profiles\*\{{ $pathGlob }}' + - # Firefox installations from Microsoft Store + function: DeleteFiles + parameters: + fileGlob: '%LOCALAPPDATA%\Packages\Mozilla.Firefox_n80bbvh6b1yt2\LocalCache\Roaming\Mozilla\Firefox\Profiles\*\{{ $pathGlob }}' - name: DisableScheduledTask parameters: