install

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MinLauncherVersion            = 21
	MaxLauncherVersion            = 21
	ErrUnsupportedLauncherVersion = errors.New("unsupported launcher version")
)

Functions

This section is empty.

Types

type Installer

type Installer struct {
	// contains filtered or unexported fields
}

func NewInstaller

func NewInstaller(configDir string, getVersionFunc func(string) (*gameModel.VersionInfo, error)) *Installer

func (*Installer) Install

func (i *Installer) Install(v *gameModel.VersionInfo) error

func (*Installer) InstallFromSpec

func (i *Installer) InstallFromSpec(spec *gameModel.VersionSpec) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL