Skip to content

Commit

Permalink
win: support Microsoft Store Firefox installations
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
undergroundwires committed Jul 10, 2024
1 parent 0239b52 commit 8d7a7eb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/application/collections/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8d7a7eb

Please sign in to comment.