fix: resolve OMEN binary path from repo root as fallback

In dev checkouts where submodules are built in the repo root rather than
vendored into hate_path, OMEN binaries were not found. Introduces _omen_dir
that checks hate_path/omen first and falls back to the repo root omen dir.
Also removes vendor-assets from install/update targets and drops vendored
submodule paths from pyproject.toml package data.
This commit is contained in:
Justin Bollinger
2026-03-10 12:28:14 -04:00
parent c85808e5c3
commit 17f7fb6463
4 changed files with 29 additions and 18 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ clean-vendor:
@echo "Cleaning up vendored assets from working tree..."
@rm -rf hate_crack/hashcat hate_crack/hashcat-utils hate_crack/princeprocessor hate_crack/omen
install: submodules vendor-assets
install: submodules
@echo "Detecting OS and installing dependencies..."
@if [ "$(shell uname)" = "Darwin" ]; then \
echo "Detected macOS"; \
@@ -105,7 +105,7 @@ install: submodules vendor-assets
@command -v uv >/dev/null 2>&1 || { echo "uv not found. Installing uv..."; curl -LsSf https://astral.sh/uv/install.sh | sh; }
@uv tool install -e .
update: submodules vendor-assets
update: submodules
@uv tool install -e . --force --reinstall
reinstall: uninstall install