/rbxbin

A Go package providing routines for Roblox programs (referred to as Binary) and FFlags.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

rbxbin

Godoc Reference

Go package providing routines to deploy, install and fetch Roblox programs (referred to as Binary) Package log/slog is used by some routines for logging purposes.

Binaries WindowsStudio, MacPlayer and MacStudio do not have guranteed support, as this package is directed towards Windows support. Feel free to contribute.

Packages fetcher example

package main

import (
	"log"

	"github.com/apprehensions/rbxbin"
	cs "github.com/apprehensions/rbxweb/clientsettings"
)

func main() {
	d, err := rbxbin.GetDeployment(cs.WindowsPlayer, "LIVE")
	if err != nil {
		log.Fatalln("failed to get deployment:", err)
	}

	ps, err := rbxbin.DefaultMirror.GetPackages(d)
	if err != nil {
		log.Fatalln("failed to get packages:", err)
	}

	for _, p := range ps {
		log.Println("Package:", p.Name)
	}
}