diff --git a/README.md b/README.md index 73236d1..51ec04a 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,24 @@ mint --version ## Build notes -Built from `trumank/mint` main (v0.2.10) with: +Built from `trumank/mint` main (v0.2.10) with the **default `hook` feature enabled**: ```bash -cargo +nightly-2026-04-24 build --package mint --no-default-features --release +# build-time deps (NOT needed at runtime) +apt install -y mingw-w64 +rustup target add x86_64-pc-windows-gnu --toolchain nightly-2026-04-24 + +cargo +nightly-2026-04-24 build --package mint --release ``` -The default `hook` feature is a Windows game-injection cdylib (`x86_64-pc-windows-gnu`) and is -intentionally excluded on Linux. Binary is stripped. +The Linux MINT executable is built with the default `hook` feature enabled. +The hook itself is cross-compiled for `x86_64-pc-windows-gnu` because +Deep Rock Galactic runs as a Windows application under Proton. +MinGW-w64 is therefore required **at build time only, not at runtime** — +the hook DLL is embedded into the Linux binary via Cargo artifact dependency +(`include_bytes!(env!("CARGO_CDYLIB_FILE_HOOK_hook"))`) and written by MINT +itself to `FSD/Binaries/Win64/x3daudio1_7.dll` when installing mods. +Binary is stripped. ## Files