WindowsPrivilegeHelper

Utility object that offers functions to handle Windows-specific privilege and process management tasks.

Functions

Link copied to clipboard
fun installOnWindows(installerFile: File, onResult: (Boolean, String?) -> Unit)

Installs an MSI file on Windows.

Link copied to clipboard

Checks if the process is already running with elevated privileges (admin).