From 05926f78288dfebc24c3b9fbc343dba51501edd8 Mon Sep 17 00:00:00 2001 From: niklascfw Date: Fri, 17 Jul 2026 13:43:00 +0200 Subject: [PATCH] Show Install/Update completion based on detected mode. Drop the version header from the final summary and label the result as Update or Installation. --- source/main.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/source/main.c b/source/main.c index c4bb2b2..78e396f 100644 --- a/source/main.c +++ b/source/main.c @@ -657,25 +657,20 @@ void ipl_main(void) { gfx_con_setpos(0, 0); // Summary - set_color(COLOR_CYAN); - gfx_printf("========================================\n"); - gfx_printf(" OmniNX Installer Payload v%s\n", VERSION); - gfx_printf("========================================\n\n"); - set_color(COLOR_WHITE); - + const char *op_name = (mode == INSTALL_MODE_UPDATE) ? " Update" : " Installation"; if (result == FR_OK && total_errors == 0) { set_color(COLOR_GREEN); - gfx_printf("========================================\n"); - gfx_printf(" Installation abgeschlossen!\n"); - gfx_printf("========================================\n"); + gfx_printf("=======================================\n"); + gfx_printf(" %s abgeschlossen!\n", op_name); + gfx_printf("=======================================\n"); } else { set_color(COLOR_RED); - gfx_printf("========================================\n"); - gfx_printf(" Installation beendet\n"); + gfx_printf("=======================================\n"); + gfx_printf(" %s beendet\n", op_name); if (total_errors > 0) { gfx_printf(" %d Fehler\n", total_errors); } - gfx_printf("========================================\n"); + gfx_printf("=======================================\n"); } set_color(COLOR_WHITE);