Documentation ¶
Index ¶
- func AddToShortcuts(shortcut *shortcuts.Shortcut, overwriteArtworks bool) error
- func EnsureShortcut(shortcut *shortcuts.Shortcut) error
- func GetShortcut(appID uint) *shortcuts.Shortcut
- func GetShortcuts() []*shortcuts.Shortcut
- func Load() error
- func RemoveFromShortcuts(shortcut *shortcuts.Shortcut) error
- func Save() error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToShortcuts ¶
Add program to the shortcuts list
func EnsureShortcut ¶ added in v0.0.13
Ensure that shortcut has the correct settings
func GetShortcut ¶ added in v0.0.13
Retrieve runtime shortcut with given appID
func RemoveFromShortcuts ¶
Remove program from the shortcuts list
Types ¶
type Config ¶
type Config struct { IsFlatpak bool `json:"isFlatpak"` SteamPath string `json:"steamPath"` UserConfigPath string `json:"userConfigPath"` UserArtworksPath string `json:"userArtworksPath"` ControllerTemplatesPath string `json:"controllerTemplatesPath"` Shortcuts []*shortcuts.Shortcut `json:"shortcuts"` }
Config struct
Click to show internal directories.
Click to hide internal directories.