Module: Wine

Defined in:
documented/wine.rb

Overview

Namespace for Wine runtime registry access and configuration.

Provides methods to read and write Windows registry values through a Wine prefix when Wine is detected on the system. Only defined if Wine is available and both BIN and PREFIX point to valid executable and directory paths.

Constant Summary collapse

BIN =

[String] Absolute path to the Wine executable.

Resolved from --wine= CLI override, PATH lookup, or nil if Wine is not available or explicitly disabled with --no-wine.

$wine_bin
PREFIX =

[String] Absolute path to the Wine prefix (WINEPREFIX directory).

Resolved from --wine-prefix= CLI override, WINEPREFIX environment variable, or $HOME/.wine by default. Only set when BIN points to a valid Wine executable and this directory exists.

$wine_prefix