Show pack versions and a Nintendo-server block notice on confirm.
The installer now displays current vs incoming OmniNX version and states that Nintendo server connections are suppressed by default.
This commit is contained in:
5 files changed
+28
-6
No files matched your search
+16
-2
@@ -106,9 +106,9 @@ static void print_header(void) {
|
||||
gfx_clear_grey(0x1B);
|
||||
gfx_con_setpos(0, 0);
|
||||
set_color(COLOR_CYAN);
|
||||
gfx_printf("===================================\n");
|
||||
gfx_printf("====================================\n");
|
||||
gfx_printf(" OmniNX Installer Payload v%s\n", VERSION);
|
||||
gfx_printf("===================================\n\n");
|
||||
gfx_printf("====================================\n\n");
|
||||
set_color(COLOR_WHITE);
|
||||
}
|
||||
|
||||
@@ -557,6 +557,9 @@ void ipl_main(void) {
|
||||
}
|
||||
|
||||
// Show information
|
||||
set_color(COLOR_YELLOW);
|
||||
gfx_printf("Hinweis: Verbindungen zu Nintendo-Servern sind\n");
|
||||
gfx_printf("in OmniNX standardmaessig unterdrueckt.\n\n");
|
||||
set_color(COLOR_CYAN);
|
||||
gfx_printf("Installationsmodus: %s\n", mode == INSTALL_MODE_UPDATE ? "Update" : "Saubere Installation");
|
||||
gfx_printf("Paket-Variante: %s\n", get_variant_name(pack_variant));
|
||||
@@ -565,6 +568,17 @@ void ipl_main(void) {
|
||||
} else {
|
||||
gfx_printf("Aktuelle Installation: Keine\n");
|
||||
}
|
||||
|
||||
char new_version[32];
|
||||
new_version[0] = '\0';
|
||||
const char *pack_manifest = get_manifest_path(pack_variant);
|
||||
if (pack_manifest)
|
||||
read_manifest_version(pack_manifest, new_version, sizeof(new_version));
|
||||
|
||||
const char *cur_ver = !current.is_installed ? "Keine"
|
||||
: (current.version_file[0] ? current.version_file : "Unbekannt");
|
||||
const char *new_ver = new_version[0] ? new_version : "Unbekannt";
|
||||
gfx_printf("Version: %s -> %s\n", cur_ver, new_ver);
|
||||
set_color(COLOR_WHITE);
|
||||
gfx_printf("\n");
|
||||
|
||||
|
||||
Reference in new issue
Block a user