mkcert/truststore_linux.go
Filippo Valsorda e4c5c312a7 Add Firefox support
Fixes #6
2018-06-28 01:29:20 -04:00

24 lines
627 B
Go

// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
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))
}
func (m *mkcert) uninstallPlatform() {}