v3.1.3: Admin-Prüfung zuerst (unabhängig von den Patches), SELECT zeigt den Auffrischen-Schritt (welches Modul)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nico Meister
2026-10-26 21:20:41 +01:00
co-authored by Claude Opus 5.5
parent 36f6e5e027
commit d1fba48c6f
5 changed files with 32 additions and 10 deletions
+3 -1
View File
@@ -88,7 +88,8 @@ static void check_once(void)
const char *admin_why(void) { return why; }
void admin_progress(const char *step) { if (wanted && !isAdmin) snprintf(why, sizeof(why), "Werkzeuge: warte auf %s ...", step); }
static bool checked; // Prüfung gelaufen: Ergebnis/Fehler in "why" nicht mehr überschreiben
void admin_progress(const char *step) { if (wanted && !isAdmin && !checked) snprintf(why, sizeof(why), "Werkzeuge: warte auf %s ...", step); }
void admin_skipped(void) { if (wanted && !isAdmin) snprintf(why, sizeof(why), "Werkzeuge: Prüfung ausgefallen (umgeschaltet). App neu öffnen."); }
@@ -105,6 +106,7 @@ void admin_prepare(const char *srv, bool mbmnetLoggedIn)
void admin_check(void)
{
if (!wanted) return;
checked = true;
// act noch mit etwas anderem beschäftigt ("ungültiger Zustand"): kurz warten und noch einmal
for (int attempt = 0; attempt < 2; attempt++) {
check_once();