app

package
v0.0.0-...-b6fc690 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Name string
	Exec string
	Args []string
	Dir  string
	// contains filtered or unexported fields
}

func New

func New(name string, exec string, args []string, dir string, opts Options) (*App, error)

func (*App) Install

func (a *App) Install() error

func (*App) Path

func (a *App) Path() string

func (*App) Uninstall

func (a *App) Uninstall() error

type Options

type Options struct {
	IconFileName    string
	IconFileSource  string
	IsGUIApp        bool
	MacHideDockIcon bool // macOS plist HideDockIcon
}

Jump to

Keyboard shortcuts

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