install

package
v0.6.20 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingInput = errors.New("missing input")
View Source
var ErrNotInstalled = errors.New("version not installed")

Functions

func Executable

func Executable(
	ctx context.Context,
	storePath string,
	ex executable.Executable,
	force bool,
) error

Downloads and caches a platform-specific version of Godot.

func Source

func Source(ctx context.Context, storePath string, v version.Version, force bool) error

Downloads and caches a specific version of Godot's source code.

func Vendor added in v0.6.11

func Vendor(
	ctx context.Context,
	storePath string,
	v version.Version,
	out string,
	force bool,
) error

Extracts the cached source code folder into the specified 'out' path. Note that this function will first install the source code into the 'gdenv' store.

func Which

func Which(ctx context.Context, storePath string, p platform.Platform, atPath string) (string, error)

Which returns the path to the cached Godot executable specified by the locally or globally pinned version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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