Mount romfs before the quiet OTA release check so HTTPS can load cacert.pem.

ota_net_init() now mounts romfs and initializes curl before the GitHub check runs, fixing silent update-check failures after TLS verification was enabled.
This commit is contained in:
Andrew Quenehen
2026-08-06 09:14:35 -03:00
parent d08fce5fd5
commit 287534cf26
7 changed files with 49 additions and 8 deletions
+3 -1
View File
@@ -416,8 +416,10 @@ else
fi
if grep -q 'ota_ui_prompt_update' "$ROOT/native/switch-ota-launcher/src/main.c" \
&& grep -q 'ota_net_init' "$ROOT/native/switch-ota-launcher/src/main.c" \
&& grep -q 'framebufferCreate\|COL_RAIL' "$ROOT/native/switch-ota-launcher/src/ota_ui.c" \
&& grep -q '^ROMFS' "$ROOT/native/switch-ota-launcher/Makefile"
&& grep -q '^ROMFS' "$ROOT/native/switch-ota-launcher/Makefile" \
&& grep -q 'cacert.pem' "$ROOT/native/switch-ota-launcher/Makefile"
then
ok "launcher UI uses framebuffer (no prompt when up to date)"
else