Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultIcon icon = ""
Default icon, defined by OS
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Autostart ¶
type Autostart struct {
// contains filtered or unexported fields
}
func NewAutostart ¶
Create a new autostart The startup with system is disabled by default, use Enable() to enable it or use IsEnabled () to check if this autostart has been enabled previously
type Shortcut ¶
type Shortcut struct {
// Executable name
Name string
// Executable path, ex: windows: C:/Windows/explorer.exe linux: /usr/bin/gcc
Exec string
// The arguments for executable, can be empty
Args []string
// The directory where the executable starts, if empty, the root of the executable will be defined as directory
StartIn string
}
Click to show internal directories.
Click to hide internal directories.