Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ForceExtract = true
View Source
var SkipDownload = true
Functions ¶
Types ¶
type PortableInfo ¶
type PortableInfo struct { ApplicationName string `json:"ApplicationName"` DownloadExtension string `json:"DownloadExtension"` Version string `json:"Version"` VersionCheck VersionCheck `json:"VersionCheck"` RemoveRootFolder bool `json:"RemoveRootFolder"` RootFolderName string `json:"RootFolderName"` DownloadUrl string `json:"DownloadUrl"` ExtractRegExList []string `json:"ExtractRegExList"` CreateFolders []string `json:"CreateFolders"` CreateFiles map[string]string `json:"CreateFiles"` MoveObjects map[string]string `json:"MoveObjects"` }
PortableInfo contains the settings for the portable application
func LoadConfig ¶
func LoadConfig(configFile string) (*PortableInfo, error)
LoadConfig returns the struct from the config file
type VersionCheck ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.