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
@@ -104,11 +104,11 @@ test "Settings > Session: face unlock lists faces, adds one, turns it on, remove
test "face unlock status lines" {
let f = @shell.FaceUnlock::new()
f.apply_status([
"backend opencv", "device /dev/video0", "problem OpenCV is missing: run just install-face", "pam polkit-1,sudo",
"backend opencv", "device /dev/video0", "problem OpenCV is missing: run just install", "pam polkit-1,sudo",
"howdy login,gdm-password", "face 3\tGlasses\t2026-11-01",
])
assert_true(f.installed)
assert_eq(f.problem, "OpenCV is missing: run just install-face")
assert_eq(f.problem, "OpenCV is missing: run just install")
assert_true(f.in_use())
assert_eq(f.howdy, "login, gdm-password")
assert_eq(f.faces, [("3", "Glasses", "2026-11-01")])