src

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRegDeleteFile

func GenerateRegDeleteFile(ctx WinReg5Hbs) (string, error)

func GenerateRegFile

func GenerateRegFile(ctx WinReg5Hbs) (string, error)

func IsAdmin

func IsAdmin() bool

func NoEmptyStringValidator

func NoEmptyStringValidator(s string) error

func Pathify

func Pathify(fpath string) (string, error)

func RelaunchWithElevatedPerms

func RelaunchWithElevatedPerms()

func SaveToDisk

func SaveToDisk(file []byte, fpath string) error

func ValidPathValidator

func ValidPathValidator(s string) error

Types

type WinReg5Hbs

type WinReg5Hbs struct {
	RegKey    string
	ExePath   string
	CtxMOText string
}

Jump to

Keyboard shortcuts

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