2018-06-26 05:48:41 +00:00
|
|
|
// 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"
|
2018-06-28 05:29:20 +00:00
|
|
|
"os"
|
2018-06-26 05:48:41 +00:00
|
|
|
"path/filepath"
|
|
|
|
)
|
|
|
|
|
2018-06-28 05:29:20 +00:00
|
|
|
var (
|
|
|
|
FirefoxPath = "/usr/bin/firefox"
|
|
|
|
FirefoxProfile = os.Getenv("HOME") + "/.mozilla/firefox/*"
|
|
|
|
CertutilInstallHelp = "apt install libnss3-tools"
|
|
|
|
)
|
|
|
|
|
2018-06-26 05:48:41 +00:00
|
|
|
func (m *mkcert) installPlatform() {
|
2018-06-29 20:02:23 +00:00
|
|
|
log.Println(" -install is not yet fully supported on Linux 😣")
|
|
|
|
log.Printf("You can manually install the root certificate at %q in the meantime.", filepath.Join(m.CAROOT, rootName))
|
2018-06-26 05:48:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *mkcert) uninstallPlatform() {}
|