Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToShortcuts ¶ added in v0.0.2
Add non steam game to the steam shortcuts library
func GenerateAppID ¶
Generate appId - Used for big picture grids
func GenerateShortcutID ¶
Generate shortcutId - Used as appId in shortcuts.vdf
Types ¶
type Config ¶
type Config struct { ArtworksPath string `json:"artworksPath"` DebugFile string `json:"debugFile"` ControllerFile string `json:"controllerFile"` ShortcutsFile string `json:"shortcutsFile"` Shortcuts []*Shortcut `json:"shortcuts"` }
func (*Config) AddShortcut ¶
Add shortcut to config
func (*Config) LoadShortcuts ¶
func (*Config) SaveControllerTemplate ¶ added in v0.0.3
Save controller template on steam
func (*Config) SaveShortcuts ¶ added in v0.0.2
Save updated content on the shortcuts file
func (*Config) SortShortcuts ¶ added in v0.0.2
Sort shortcuts in alphabetical order
type Shortcut ¶
type Shortcut struct { AppID uint `json:"appId" vdf:"appid"` AppName string `json:"appName" vdf:"AppName"` Exe string `json:"exe" vdf:"Exe"` StartDir string `json:"startDir" vdf:"StartDir"` Icon string `json:"icon" vdf:"icon"` ShortcutPath string `json:"shortcutPath" vdf:"ShortcutPath"` LaunchOptions string `json:"launchOptions" vdf:"LaunchOptions"` IsHidden uint `json:"isHidden" vdf:"IsHidden"` AllowDesktopConfig uint `json:"allowDesktopConfig" vdf:"AllowDesktopConfig"` AllowOverlay uint `json:"allowOverlay" vdf:"AllowOverlay"` OpenVR uint `json:"openVr" vdf:"OpenVR"` Devkit uint `json:"devkit" vdf:"Devkit"` DevkitGameID string `json:"devkitGameId" vdf:"DevkitGameID"` DevkitOverrideAppID uint `json:"devkitOverrideAppId" vdf:"DevkitOverrideAppID"` FlatpakAppID string `json:"flatpakAppId" vdf:"FlatpakAppID"` LastPlayTime uint `json:"lastPlayTime" vdf:"LastPlayTime"` Tags []string `json:"tags" vdf:"tags"` IconURL string `json:"iconUrl" vdf:"IconUrl"` LogoURL string `json:"logoUrl" vdf:"LogoUrl"` CoverURL string `json:"coverUrl" vdf:"CoverUrl"` BannerURL string `json:"bannerUrl" vdf:"BannerUrl"` HeroURL string `json:"heroUrl" vdf:"HeroUrl"` }
Shortcut struct
Click to show internal directories.
Click to hide internal directories.