dll

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: 7 Imported by: 0

Documentation

Overview

Package dll contains dll-handling code, specifically for "enabling" and "disabling" them in a wine env.

Index

Constants

View Source
const DxvkKind = "dxvk"
View Source
const DxvkReleaseURL = "https://api.github.com/repos/doitsujin/dxvk/releases"
View Source
const Vkd3dKind = "vkd3d-proton"
View Source
const Vkd3dReleaseURL = "https://api.github.com/repos/HansKristian-Work/vkd3d-proton/releases"

Variables

This section is empty.

Functions

func DisableAll

func DisableAll(has64 bool, cacheDir, kind, wineArch, winePrefix, dllVersion string) error

DisableAll disables all DLLs of a given kind. This includes restoring any original DLLs that were backed up.

func EnableAll

func EnableAll(has64 bool, cacheDir, kind, wineArch, winePrefix, dllVersion string) error

EnableAll enables all DLLs of a given kind. This includes backing up any original DLLs that may exist.

func IsFile

func IsFile(path string) bool

IsFile returns true after a given path has been reasobaly checked to be an actual file and not a directory or symlink.

func IsSymlink(path string) bool

IsSymlink returns true after a given path has been reasonably checked to be an actual symlink that resolves and not a directory or file.

func ValidLink(linkPath, srcPath string) bool

ValidLink tells if the given linkPath actually resolves to the given srcPath

Types

This section is empty.

Jump to

Keyboard shortcuts

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