Skip to main content

Target

Type Alias Target 

Source
pub type Target = InstallTarget;
Expand description

Where this invocation installs, tracks, and launches from. The engine owns the layout; vmm adds only the wording below.

Aliased Type§

pub struct Target {
    pub dir: PathBuf,
    pub base: PathBuf,
    pub game_dir: PathBuf,
    pub game: String,
    pub profile: Option<String>,
}

Fields§

§dir: PathBuf

The install root. The record and its _state directory live here.

§base: PathBuf

The base holding <game>/{cache,exports,profiles}.

§game_dir: PathBuf

The game root. Known in both modes: profile mode still needs it for pre-launch staging and executable resolution.

§game: String

The ecosystem game key.

§profile: Option<String>

Some(name) in profile mode, None in game-directory mode.