Documentation
¶
Overview ¶
Package lnk reads Windows shell links (.lnk files): the parts of the MS-SHLLINK format that give the target, arguments, working folder and icon. Installers put a "Play …" shortcut on the desktop; for a repack that is the most reliable record of which executable actually starts the game.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
Target string // absolute path of the target, environment variables expanded
Args string
WorkDir string
Icon string
Name string // the shortcut's description
RelPath string // target relative to the .lnk file (fallback when Target is empty)
}
Link is what a shortcut starts.
Click to show internal directories.
Click to hide internal directories.