From cb6311cfbe4d93f81c3ee65ae51f0f5e5f677c5e Mon Sep 17 00:00:00 2001 From: Senan Kelly Date: Fri, 29 Nov 2019 22:36:50 +0000 Subject: [PATCH] truststore_nss: add firefox nightly and developer edition binary paths (#225) on my system I have only Firefox Nightly installed, so `/usr/bin/firefox` doesn't exist and so `hasNSS` was false and CA wasn't installed. on my arch based system, the binary was at `/usr/bin/firefox-nightly` https://aur.archlinux.org/packages/firefox-nightly/ it could also be at `/usr/bin/firefox-developer-edition` see "package contents" https://www.archlinux.org/packages/community/x86_64/firefox-developer-edition/ --- truststore_nss.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/truststore_nss.go b/truststore_nss.go index a7c315e5..aad559ae 100644 --- a/truststore_nss.go +++ b/truststore_nss.go @@ -24,7 +24,10 @@ var ( "/etc/pki/nssdb", // CentOS 7 } firefoxPaths = []string{ - "/usr/bin/firefox", "/Applications/Firefox.app", + "/usr/bin/firefox", + "/usr/bin/firefox-nightly", + "/usr/bin/firefox-developer-edition", + "/Applications/Firefox.app", "/Applications/Firefox Developer Edition.app", "/Applications/Firefox Nightly.app", "C:\\Program Files\\Mozilla Firefox",