mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 01:00:14 +02:00
Bundle the TLS root certificates in the Android app
The mbed TLS path looks for cacert.pem in the runtime resources folder on Android, the same place as dsp_coef.bin. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011tcyLz63pXjoYEwsFjfg8F
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -48,7 +48,7 @@ std::optional<std::filesystem::path> ExecutableDirectory() noexcept {
|
||||
return (ec ? std::filesystem::path(path) : resolved).parent_path();
|
||||
#elif defined(__ANDROID__)
|
||||
// Bundled read-only runtime resources (wii_bootstrap/, dsp_coef.bin,
|
||||
// initial_pipeline_cache.db) unpacked from the APK by the activity. Stands
|
||||
// initial_pipeline_cache.db, cacert.pem) unpacked from the APK by the activity. Stands
|
||||
// in for the executable directory the desktop builds look next to.
|
||||
if (const char* resources = std::getenv("MKW_ANDROID_RESOURCES_DIR"); resources && *resources) {
|
||||
return std::filesystem::path(resources);
|
||||
|
||||
Reference in new issue
Block a user