2 Commits
2 changed files with 15 additions and 5 deletions
+14 -4
View File
@@ -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
+1 -1
View File
@@ -44,7 +44,7 @@ fi
# GUI runtime libs (loaded at runtime by egui/winit). Warn if absent.
missing=()
for probe in libxcb.so.1 libxkbcommon.so.0 libGL.so.1 libwayland-client.so.0 libx11.so.6; do
for probe in libxcb.so.1 libxkbcommon.so.0 libGL.so.1 libwayland-client.so.0 libX11.so.6; do
ldconfig -p 2>/dev/null | grep -q "$probe" || missing+=("$probe")
done
if [ "${#missing[@]}" -gt 0 ]; then