Skip to content

Commit

Permalink
Add Firefox Flatpak support
Browse files Browse the repository at this point in the history
  • Loading branch information
noverby committed Feb 1, 2023
1 parent 2a46726 commit b6fa150
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion truststore_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import (

var (
FirefoxProfiles = []string{os.Getenv("HOME") + "/.mozilla/firefox/*",
os.Getenv("HOME") + "/snap/firefox/common/.mozilla/firefox/*"}
os.Getenv("HOME") + "/snap/firefox/common/.mozilla/firefox/*",
os.Getenv("HOME") + "/.var/app/org.mozilla.firefox/.mozilla/firefox/*"}
NSSBrowsers = "Firefox and/or Chrome/Chromium"

SystemTrustFilename string
Expand Down
2 changes: 2 additions & 0 deletions truststore_nss.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var (
"/usr/bin/firefox-nightly",
"/usr/bin/firefox-developer-edition",
"/snap/firefox",
"/var/lib/flatpak/exports/bin/org.mozilla.firefox",
os.Getenv("HOME") + "/.local/share/flatpak/exports/bin/org.mozilla.firefox",
"/Applications/Firefox.app",
"/Applications/FirefoxDeveloperEdition.app",
"/Applications/Firefox Developer Edition.app",
Expand Down

0 comments on commit b6fa150

Please sign in to comment.