Add Firefox support

Fixes #6
This commit is contained in:
Filippo Valsorda
2018-06-28 01:29:20 -04:00
parent 7544098b30
commit e4c5c312a7
6 changed files with 159 additions and 23 deletions

View File

@@ -6,9 +6,16 @@ package main
import (
"log"
"os"
"path/filepath"
)
var (
FirefoxPath = "/usr/bin/firefox"
FirefoxProfile = os.Getenv("HOME") + "/.mozilla/firefox/*"
CertutilInstallHelp = "apt install libnss3-tools"
)
func (m *mkcert) installPlatform() {
log.Fatalf("-install is not yet supported on Linux 😣\nYou can manually install the root certificate at %q in the meantime.", filepath.Join(m.CAROOT, rootName))
}