mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 05:28:56 +02:00
[frontend] Force https on bundled OpenSSL
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>
This commit is contained in:
parent
9b2fba1275
commit
58d8c375c7
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) {
|
||||
// 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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue