f79292f86760a71bc2b8c3db5ad5166830c2818b
- Replace CARGO_MANIFEST_DIR compile-time constant with runtime resolution
- Priority: MOMENTRY_RUST_* env -> current_exe sibling -> target/release fallback
- Fixes sync-mode register/unregister on release machines (A-1)
Issue: env!("CARGO_MANIFEST_DIR") expands to build machine path at compile time,
which doesn't exist on binary-only release hosts.
Solution: Resolve binary paths at runtime in this order:
1. MOMENTRY_RUST_REGISTER / MOMENTRY_RUST_UNREGISTER env (explicit override)
2. Sibling of current_exe (same directory as running momentry binary)
3. target/release fallback (dev machine)
Verified: M4ProMini deployment (2026-10-04)
momentry_core
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Releases
2
v0.9.20260325_151200
Latest
Languages
PLpgSQL
30.5%
Python
27.4%
HTML
20.4%
Rust
13.3%
Shell
3.1%
Other
5.2%