launcher

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChromeProfile

type ChromeProfile struct {
	// ExecutablePath is the path to the Chrome binary on the system.
	ExecutablePath string
	// UserDataPath is the path to the Chrome user data directory,
	// which we override to put Granted profiles in a specific folder
	// for easy management.
	UserDataPath string
}

func (ChromeProfile) LaunchCommand

func (l ChromeProfile) LaunchCommand(url string, profile string) []string

func (ChromeProfile) UseForkProcess added in v0.9.0

func (l ChromeProfile) UseForkProcess() bool

type Firefox

type Firefox struct {
	// ExecutablePath is the path to the Firefox binary on the system.
	ExecutablePath string
}

func (Firefox) LaunchCommand

func (l Firefox) LaunchCommand(url string, profile string) []string

func (Firefox) UseForkProcess added in v0.9.0

func (l Firefox) UseForkProcess() bool

type Open

type Open struct{}

Open calls the 'open' command to open a URL. This is the same command as when you run 'open https://commonfate.io' in your own terminal.

func (Open) LaunchCommand

func (l Open) LaunchCommand(url string, profile string) []string

func (Open) UseForkProcess added in v0.9.0

func (l Open) UseForkProcess() bool

type Safari added in v0.9.0

type Safari struct{}

Open calls the 'open' command to open a URL. This is the same command as when you run 'open -a Safari https://commonfate.io' in your own terminal.

func (Safari) LaunchCommand added in v0.9.0

func (l Safari) LaunchCommand(url string, profile string) []string

func (Safari) UseForkProcess added in v0.9.0

func (l Safari) UseForkProcess() bool

Jump to

Keyboard shortcuts

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