Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea618c1462 | ||
|
|
6bd5e4f713 |
@@ -33,14 +33,24 @@ mint --version
|
|||||||
|
|
||||||
## Build notes
|
## 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
|
```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
|
The Linux MINT executable is built with the default `hook` feature enabled.
|
||||||
intentionally excluded on Linux. Binary is stripped.
|
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
|
## Files
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ fi
|
|||||||
|
|
||||||
# GUI runtime libs (loaded at runtime by egui/winit). Warn if absent.
|
# GUI runtime libs (loaded at runtime by egui/winit). Warn if absent.
|
||||||
missing=()
|
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")
|
ldconfig -p 2>/dev/null | grep -q "$probe" || missing+=("$probe")
|
||||||
done
|
done
|
||||||
if [ "${#missing[@]}" -gt 0 ]; then
|
if [ "${#missing[@]}" -gt 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user