Documentation
¶
Index ¶
Constants ¶
View Source
const CONFIG_FILE_NAME = "portable.yaml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PortableApp ¶
type PortableApp struct {
Name string `json:"name"`
Bind []string `json:"bind"`
Shortcut []*shortcuts.Shortcut `json:"shortcut"`
// contains filtered or unexported fields
}
PortableApp struct
func LoadApp ¶
func LoadApp(configPath string) (app *PortableApp, err error)
LoadApp load app config
func (*PortableApp) ConfigPath ¶
func (app *PortableApp) ConfigPath() string
ConfigPath config file path
func (*PortableApp) Install ¶
func (app *PortableApp) Install(force bool) (err error)
Install the app
func (*PortableApp) Uninstall ¶
func (app *PortableApp) Uninstall(force bool) (err error)
Uninstall the app
Click to show internal directories.
Click to hide internal directories.