Split Android storage paths from legacy fallback

This commit is contained in:
2026-06-17 10:27:01 +02:00
parent 4bef707c81
commit 5491ed4bf5
9 changed files with 76 additions and 18 deletions

View File

@@ -135,12 +135,21 @@ void execute_legacy_app_init_log(App& app)
// TODO: save this path somewhere in the settings, don't overwrite every start
app.work_path = paths.work_path.empty() ? app.data_path : paths.work_path;
#ifdef __ANDROID__
pp::platform::legacy::set_legacy_android_storage_paths({
app.data_path,
app.work_path,
app.rec_path,
app.tmp_path,
});
#else
pp::platform::legacy::set_legacy_storage_paths({
app.data_path,
app.work_path,
app.rec_path,
app.tmp_path,
});
#endif
//LogRemote::I.start();
LogRemote::I.file_init();