Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 533 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 533 Bytes

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")
}