steamgamedl

package
v2.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const DepotDownloaderBinary = "DepotDownloader"
View Source
const DepotDownloaderLink = "https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.5.0/DepotDownloader-linux-${arch}.zip"
View Source
const DownloadOs = "linux"
View Source
const SteamMetadataLink = SteamMetadataServerLink + "steam_cmd_linux"
View Source
const SteamMetadataServerLink = "https://media.steampowered.com/client/"

Variables

View Source
var RenameFolders = map[string]string{
	"linux32": "sdk32",
	"linux64": "sdk64",
}

Functions

func Parse

func Parse(os string, body io.Reader) (string, error)

Types

type OperationFactory

type OperationFactory struct {
	pufferpanel.OperationFactory
}
var Factory OperationFactory

func (OperationFactory) Create

func (of OperationFactory) Create(op pufferpanel.CreateOperation) (pufferpanel.Operation, error)

func (OperationFactory) Key

func (of OperationFactory) Key() string

type SteamFile

type SteamFile struct {
	File                  string
	Size                  string
	Sha2                  string
	ZipVz                 string
	Sha2Vz                string
	IsBootstrapperPackage string
}

type SteamGameDl

type SteamGameDl struct {
	AppId     string
	Username  string
	Password  string
	ExtraArgs []string
}

func (SteamGameDl) Run

func (c SteamGameDl) Run(env pufferpanel.Environment) (err error)

type SteamMetadata

type SteamMetadata struct {
	Version   string
	BinsLinux SteamFile
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL