Documentation ¶
Index ¶
- Constants
- func BackUpExistingFile(file string) string
- func CleanUpFile(filePath string) error
- func DownloadLatestRelease(repo string, config *Config)
- func FindGameInstallationDirectory() (string, error)
- func MoveFilesUpALevel(filePath string, config *Config) (folders []string)
- func RestoreBackUps(backedUpFiles []string)
- func SaveDefaultConfig(config *Config) error
- func SplitProjectNameFromUrl(url string) string
- func TrimFileExtension(filePath, extension string) string
- func Unzip(zipPath, outDir string) error
- func Update(url string, addOnDetails *AddOn, config *Config) (bool, error)
- type AddOn
- type Config
- type GitHubRelease
- type GithubReleaseAsset
Constants ¶
View Source
const AddOnsFolder = "\\_retail_\\Interface\\AddOns"
Variables ¶
This section is empty.
Functions ¶
func BackUpExistingFile ¶
func CleanUpFile ¶
func DownloadLatestRelease ¶
func MoveFilesUpALevel ¶
func RestoreBackUps ¶
func RestoreBackUps(backedUpFiles []string)
func SaveDefaultConfig ¶
func SplitProjectNameFromUrl ¶
func TrimFileExtension ¶
Types ¶
type Config ¶
func LoadConfig ¶
func LoadConfig() Config
func (*Config) HasGamePath ¶
func (*Config) RemoveAnAddOn ¶
type GitHubRelease ¶
Click to show internal directories.
Click to hide internal directories.