Skip to content

KotonBads/llgutils

Repository files navigation

llgutils

Pretty much a library for creating a launcher for Lunar Client in Go.

Installation

run

go get github.com/KotonBads/llgutils@latest

then

go mod tidy

Example

package main

import (
	utils "github.com/KotonBads/llgutils"
)

func main() {
	launchbody := utils.LaunchBody{
		OS:      "linux",
		Arch:    "x64",
		Version: "1.8.9",
		Module:  "forge",
	}
	launchmeta, _ := launchbody.FetchLaunchMeta()
	launchmeta.DownloadArtifacts("temp")
	launchmeta.DownloadCosmetics("temp/textures")
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages