utils

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChromiumBasedBrowsers = map[string]bool{
	"brave":    true,
	"chrome":   true,
	"chromium": true,
	"edge":     true,
	"opera":    true,
	"vivaldi":  true,
}
View Source
var DarwinBrowserDir = map[string]string{
	"brave":    "BraveSoftware\\Brave-Browser",
	"chrome":   "Google\\Chrome",
	"chromium": "Chromium",
	"edge":     "Microsoft Edge",
	"opera":    "com.operasoftware.Opera",
	"vivaldi":  "Vivaldi",
}
View Source
var LinuxBrowserDir = map[string]string{
	"brave":    "BraveSoftware\\Brave-Browser",
	"chrome":   "google-chrome",
	"chromium": "chromium",
	"edge":     "microsoft-edge",
	"opera":    "opera",
	"vivaldi":  "vivaldi",
}
View Source
var SupportedBrowsers = map[string]bool{
	"brave":    true,
	"chrome":   true,
	"chromium": true,
	"edge":     true,
	"opera":    true,
	"vivaldi":  true,
	"firefox":  true,
	"safari":   true,
}
View Source
var WindowsBrowserDir = map[string]string{
	"brave":    "BraveSoftware\\Brave-Browser\\User Data",
	"chrome":   "Google\\Chrome\\User Data",
	"chromium": "Chromium\\User Data",
	"edge":     "Microsoft\\Edge\\User Data",
	"opera":    "Opera Software\\Opera Stable",
	"vivaldi":  "Vivaldi\\User Data",
}

Functions

func ConfigHome

func ConfigHome() string

func FindMostRecentlyUsedFile

func FindMostRecentlyUsedFile(root, filename string) string

func KeyingName

func KeyingName(browserName string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL