opt

package
v0.0.0-...-9aed8fb Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package opt provides various informations not specific to a particular function.

Index

Constants

View Source
const GeReleaseURL = "https://api.github.com/repos/GloriousEggroll/wine-ge-custom/releases"

Variables

This section is empty.

Functions

func DisplayResolutions

func DisplayResolutions(xrandrBin string) (map[string]string, error)

DisplayResolutions uses xrandr to get a map of screen:resolution values for each display.

func DownloadFile

func DownloadFile(url, dest string) error

func ExePath

func ExePath(exeName string) (string, error)

func ExtractTarball

func ExtractTarball(path, dest, kind string) error

func GeWineInstalled

func GeWineInstalled(protonDir, version string) bool

func GetVersions

func GetVersions(url string) ([]string, error)

GetVersions returns an array of strings that represent VCS release tags after fetching them from the given URL.

func ListDir

func ListDir(path string) ([]string, error)

func ReleaseData

func ReleaseData(url string) ([]*githubRelease, error)

func ValidGeWineVersion

func ValidGeWineVersion(url, version string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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