Add support for Firefox in a Snap for Ubuntu 22.04

Closes #327
Fixes #325
This commit is contained in:
Filippo Valsorda
2022-04-25 19:55:19 +02:00
parent 255b8304cd
commit 789f1b1c70
4 changed files with 11 additions and 5 deletions

View File

@@ -15,8 +15,9 @@ import (
)
var (
FirefoxProfile = os.Getenv("HOME") + "/.mozilla/firefox/*"
NSSBrowsers = "Firefox and/or Chrome/Chromium"
FirefoxProfiles = []string{os.Getenv("HOME") + "/.mozilla/firefox/*",
os.Getenv("HOME") + "/snap/firefox/common/.mozilla/firefox/*"}
NSSBrowsers = "Firefox and/or Chrome/Chromium"
SystemTrustFilename string
SystemTrustCommand []string