mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
[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:
parent
9b2fba1275
commit
71d3dd67d3
1 changed files with 1 additions and 3 deletions
|
|
@ -81,9 +81,7 @@ std::optional<std::string> UpdateChecker::GetResponse(std::string url, std::stri
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<UpdateChecker::Update> UpdateChecker::GetLatestRelease(bool include_prereleases) {
|
std::optional<UpdateChecker::Update> UpdateChecker::GetLatestRelease(bool include_prereleases) {
|
||||||
// For some unbeknownst reason, only Android likes when https is specified.
|
#ifdef YUZU_BUNDLED_OPENSSL
|
||||||
// Consider dropping support for this radioactive platform.
|
|
||||||
#ifdef __ANDROID__
|
|
||||||
const auto update_check_url = fmt::format("https://{}", Common::g_build_auto_update_api);
|
const auto update_check_url = fmt::format("https://{}", Common::g_build_auto_update_api);
|
||||||
#else
|
#else
|
||||||
const auto update_check_url = std::string{Common::g_build_auto_update_api};
|
const auto update_check_url = std::string{Common::g_build_auto_update_api};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue