[frontend] Force https on bundled OpenSSL (#3843)

For some unknown reason, bundled OpenSSL likes the `https` scheme,
whereas system OpenSSL (on Gentoo at least) does not... even when the
bundled OpenSSL is built exactly like the Gentoo one, certificate and
all...

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3843
This commit is contained in:
crueter 2026-04-08 21:27:10 +02:00
parent 9b2fba1275
commit 71d3dd67d3
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6

View file

@ -81,9 +81,7 @@ std::optional<std::string> UpdateChecker::GetResponse(std::string url, std::stri
}
std::optional<UpdateChecker::Update> 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__
#ifdef YUZU_BUNDLED_OPENSSL
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};