refactor(devc): harden entry script

- Resolve config.sh relative to the real script path (works via symlink).
- Don't silently swallow errors from config.sh.
- Default DEVC_REGISTRY to git.plabble.org/job79.
- Add -no-pull to start without contacting the registry.
- Host wrappers explain how to enable host-spawn instead of failing
  obscurely.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-08 11:46:59 +01:00
1 parent 12534d3afd
commit 4d657656cd
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
#!/bin/bash
export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/bus"
[[ -S /tmp/bus ]] || { echo "host-spawn unavailable: restart with 'devc -host-spawn'" >&2; exit 1; }
cmd="${0##*/}"
[[ "$cmd" == "host" ]] && unset cmd