launchfromweb

package module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 10 Imported by: 0

README

launchfromweb

Launch applications on linux and windows from via web link.

API docs

see https://pkg.go.dev/gitlab.com/golang-utils/launchfromweb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	Program       path.Local
	Name          string
	NeedsTerminal bool   // only for linux
	Categories    string // only for linux
}

func New

func New(program string, name string) (*Launcher, error)

func (*Launcher) Register

func (l *Launcher) Register() error

func (*Launcher) URL

func (l *Launcher) URL() url.URL

func (*Launcher) UnRegister

func (l *Launcher) UnRegister() error

Jump to

Keyboard shortcuts

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