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)
Click to show internal directories.
Click to hide internal directories.