From f0a4ac7359b6de6d6f1926c795831de01d4119d5 Mon Sep 17 00:00:00 2001 From: crueter Date: Sun, 15 Mar 2026 02:57:32 +0100 Subject: [PATCH] [frontend] only set https on Android (#3733) Otherwise it breaks the shit out of every other platform. Signed-off-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3733 --- src/frontend_common/update_checker.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/frontend_common/update_checker.cpp b/src/frontend_common/update_checker.cpp index e14aadd757..75b1dc00cc 100644 --- a/src/frontend_common/update_checker.cpp +++ b/src/frontend_common/update_checker.cpp @@ -81,7 +81,14 @@ std::optional UpdateChecker::GetResponse(std::string url, std::stri } std::optional UpdateChecker::GetLatestRelease(bool include_prereleases) { + // For some unbeknownst reason, only Android likes when https is specified. + // Consider dropping support for this radioactive platform. +#ifdef __ANDROID__ + const auto update_check_url = fmt::format("https://{}", Common::g_build_auto_update_api); +#else const auto update_check_url = std::string{Common::g_build_auto_update_api}; +#endif + auto update_check_path = fmt::format("{}{}", std::string{Common::g_build_auto_update_api_path}, std::string{Common::g_build_auto_update_repo}); try {