mici installer: bring back finishing setup (#37574)

need this :(
This commit is contained in:
Shane Smiskol
2026-03-05 07:20:50 -08:00
committed by GitHub
parent 118d903e2d
commit 5303afb0dc
+7 -5
View File
@@ -81,14 +81,16 @@ void run(const char* cmd) {
}
void finishInstall() {
if (tici_device) {
BeginDrawing();
ClearBackground(BLACK);
BeginDrawing();
ClearBackground(BLACK);
if (tici_device) {
const char *m = "Finishing install...";
int text_width = MeasureText(m, FONT_SIZE);
DrawTextEx(font_display, m, (Vector2){(float)(GetScreenWidth() - text_width)/2 + FONT_SIZE, (float)(GetScreenHeight() - FONT_SIZE)/2}, FONT_SIZE, 0, WHITE);
EndDrawing();
}
} else {
DrawTextEx(font_display, "finishing setup", (Vector2){12, 0}, 77, 0, (Color){255, 255, 255, (unsigned char)(255 * 0.9)});
}
EndDrawing();
util::sleep_for(60 * 1000);
}