uac

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsElevated added in v0.1.1

func IsElevated() bool

func Prompt

func Prompt(messageFilePath string, maxWaitTime time.Duration, job func() error) error

Prompt triggers Windows UAC elevation prompt.

func PromptWithExtraArguments

func PromptWithExtraArguments(messageFilePath string, maxWaitTime time.Duration, extraArguments []string, job func() error) error

PromptWithExtraArguments triggers Windows UAC elevation prompt. The extraArguments will append to the original command arguments.

Types

This section is empty.

Jump to

Keyboard shortcuts

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