module

Launcher::Paths

Class methods

config_dir

Directory holding launcher.json. XDG on Linux/BSD, %APPDATA% on Windows, Application Support on macOS.

Source
config_dir=(dir : String | Nil) : Nil

Permanent redirect for the whole process: spec_helper sets it so no spec can ever write the real user config — Installer and Uninstaller persist through Store#save's default path (Paths.store_path), which the block-scoped stub cannot cover.

Source
default_installs_root

Default parent for new installs: ~/Games/OpenXRay

Source
home
Source
store_path
Source
stub_config_dir(dir : String, &)

Redirect config_dir for the duration of a block (specs must not touch the real user config).

Source