Logout - clear session immediately, encrypt database in background.
()
| 4681 | return f"Unable to collect status for {service_name}: {exc}" |
| 4682 | |
| 4683 | |
| 4684 | # Marker identifying a launcher that already contains the manual-mode logic. |
| 4685 | # Kept identical to the comment written by scripts/install_pwnagotchi.sh so an |
| 4686 | # installer-written launcher is recognised and left untouched. |
| 4687 | _PWN_LAUNCHER_MARKER = '# ragnar-managed flag-aware launcher' |
| 4688 | |
| 4689 | |
| 4690 | def _resolve_pwnagotchi_binary() -> Optional[str]: |
| 4691 | """Locate the real pwnagotchi entry point, never the Ragnar launcher shim.""" |