Documentation
¶
Index ¶
Constants ¶
View Source
const ( SteamCMDLinuxURL = "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" SteamCMDWindowsURL = "https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip" SteamCMDLinuxDir = "./steamcmd" SteamCMDWindowsDir = "C:\\SteamCMD" )
Constants for repeated strings
Variables ¶
This section is empty.
Functions ¶
func CheckAndDownloadUIMod ¶
func CheckAndDownloadUIMod()
func Install ¶
Install performs the entire installation process and ensures the server waits for it to complete
func InstallAndRunSteamCMD ¶
func InstallAndRunSteamCMD()
InstallAndRunSteamCMD installs and runs SteamCMD based on the platform (Windows/Linux). It automatically detects the OS and calls the appropriate installation function.
func UpdateExecutable ¶
func UpdateExecutable() error
UpdateExecutable checks for and applies the latest release from GitHub
Types ¶
type ExtractorFunc ¶
ExtractorFunc is a type that represents a function for extracting archives. It takes an io.ReaderAt, the size of the content, and the destination directory.
Click to show internal directories.
Click to hide internal directories.