autostart

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutostartPath

func AutostartPath(exec string, opts Options) (string, error)

func Disable

func Disable(exec string, opts Options) error

func Enable

func Enable(exec string, opts Options) error

func IsEnabled

func IsEnabled(exec string, opts Options) (bool, error)

IsEnabled is provided for testing only.

func Upgrade

func Upgrade(exec string, opts Options) error

Types

type Options

type Options struct {
	Name           string
	Args           []string
	LaunchFileName string
	IconFileName   string
	IconFileSource string
	GenericName    string
	Comment        string
	Keywords       string
	MacLabel       string // macOS plist Label
	MacInteractive bool   // macOS plist Interactive ProcessType
}

Jump to

Keyboard shortcuts

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