Pretty much a library for creating a launcher for Lunar Client in Go.
run
go get github.com/KotonBads/llgutils@latest
then
go mod tidy
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")
}