core

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionCacheFile = "versions.json"
)

Variables

View Source
var VersionManifest = []GodotVersion{
	{
		DisplayName: "4.3.0 (Standard)",
		Version:     "4.3.0",
		DotNet:      false,
		URL:         "https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_win64.exe.zip",
		OS:          "windows",
	},
	{
		DisplayName: "4.3.0 (Mono)",
		Version:     "4.3.0",
		DotNet:      true,
		URL:         "https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_mono_win64.zip",
		OS:          "windows",
	},
	{
		DisplayName: "4.3.0 (Standard)",
		Version:     "4.3.0",
		DotNet:      false,
		URL:         "https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_linux.x86_64.zip",
		OS:          "linux",
	},
	{
		DisplayName: "4.3.0 (Mono)",
		Version:     "4.3.0",
		DotNet:      true,
		URL:         "https://github.com/godotengine/godot-builds/releases/download/4.3-stable/Godot_v4.3-stable_mono_linux_x86_64.zip",
		OS:          "linux",
	},
}

Functions

func GetInstallPath

func GetInstallPath() string

func InstallGodotVersion

func InstallGodotVersion(version GodotVersion) error

Types

type GodotVersion

type GodotVersion struct {
	DisplayName string // User-friendly name for selection
	Version     string // Base version number
	DotNet      bool   // Whether this is a Mono/.NET version
	URL         string // Download URL
	OS          string // Operating System (Architecture assumed as x64)
}

func GetVersionByIdentifier

func GetVersionByIdentifier(identifier string) (GodotVersion, error)

Jump to

Keyboard shortcuts

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