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:
16 files changed
+171
-108
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# Run one command as root with whatever this system uses for that: run0 (systemd 256+), else
|
||||
# sudo, doas, or pkexec. Used by `just install` and friends.
|
||||
# sudo, doas, or pkexec. Used by `just install` and `just uninstall`.
|
||||
#
|
||||
# scripts/as-root python3 session/install.py
|
||||
#
|
||||
|
||||
@@ -21,7 +21,7 @@ if [ -d "$PIXI/lib" ]; then
|
||||
fi
|
||||
moon build --target native --release --warn-list -a wasmhost/bin
|
||||
mkdir -p build
|
||||
# Replace it by renaming, so a running session (install-dev links to it) keeps its copy.
|
||||
# Replace it by renaming, so a running session (`just install --link` links to it) keeps its copy.
|
||||
cp _build/native/release/build/wasmhost/bin/bin.exe build/wasmhost.new
|
||||
mv -f build/wasmhost.new build/wasmhost
|
||||
echo "build/wasmhost $(stat -c %s build/wasmhost) bytes"
|
||||
Reference in new issue
Block a user