download

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WinGZDoomURL = "https://github.com/ZDoom/gzdoom/releases/download/g4.11.3/gzdoom-4-11-3.a.-Windows-64bit.zip"
	WinZDoomURL  = "https://zdoom.org/files/zdoom/2.8/zdoom-2.8.1.zip"

	LinuxGZDoomURL = "https://github.com/ZDoom/gzdoom/releases/download/g4.11.3/gzdoom-g4.11.3-linux-portable.tar.xz"
	LinuxZDoomURL  = "https://zdoom.org/files/zdoom/2.8/zdoom_2.8.1_amd64.deb"

	MacGZDoomURL = "https://github.com/ZDoom/gzdoom/releases/download/g4.11.3/gzdoom-4-11-3-macOS.zip"
	MacZDoomURL  = "https://zdoom.org/files/zdoom/2.8/zdoom-2.8.1.dmg"
)

Variables

View Source
var (
	ErrIncompatiblePlattaform = errors.New("incompatible plattaform")
	ErrOnlyForWindows         = errors.New("only for windows")
	ErrZDoomOnMac             = errors.New("zdoom is not available on mac")
	ErrArIsNotInPath          = errors.New("ar executable is not in path")
)

Functions

func Download

func Download(url, file string) error

func ExtractDeb

func ExtractDeb(file, dir string) error

func ExtractTarXz

func ExtractTarXz(src, destDir string) error

func GZDoom

func GZDoom() error

func Unzip

func Unzip(src, dest string) error

func ZDoom

func ZDoom() error

Only with windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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