Split Android storage paths from legacy fallback
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user