One install recipe: just install installs everything
CI / test (push) Successful in 2m25s

just install now builds as you, then asks for root once and installs the
whole thing: the login session (wasm compositor on the MoonBit host,
modules, chandra-ctl, KDE colors, portal) and face unlock (helper, PAM
module, config, models). The alternatives are flags instead of recipes:
--link (was install-dev), --rust (install-rust), --native
(install-native), --pam (install-face --pam), --no-face, --no-models.
The PAM module is compiled as you into build/, so root only copies it;
without a compiler or libpam headers face unlock is skipped with a warning.
just uninstall removes face unlock too (--purge: enrolled faces).

Removed: install-dev, install-rust, install-native, install-face,
uninstall-face and the old install-session* / uninstall-session aliases.
New docs/install.md; README, docs and installer hints updated. Also drops
a committed __pycache__ file and ignores __pycache__/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hkA52AocBmJHipFRqb
This commit is contained in:
Claude committed 2026-11-26 01:38:58 +00:00
1 parent e6be3825d0
commit 3e35c4dfa5
16 files changed
+171 -108

No files matched your search

+2 -2
View File
@@ -248,7 +248,7 @@ class OpenCVRecognizer:
import cv2 # noqa
import numpy # noqa
except ImportError:
raise Fail("OpenCV is missing: run just install-face", 2)
raise Fail("OpenCV is missing: run just install", 2)
import cv2
import numpy as np
@@ -622,7 +622,7 @@ def cmd_status(cfg, user, out):
try:
import cv2 # noqa
except ImportError:
problem = "OpenCV is missing: run just install-face"
problem = "OpenCV is missing: run just install"
if not problem:
for m in MODELS:
if not os.path.exists(os.path.join(cfg.models, m)):