ssb: Keep the previous db location for android. wip release notes.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 26m26s

This commit is contained in:
2025-01-11 16:14:39 -05:00
parent b4222a41de
commit 8178213f1a
2 changed files with 19 additions and 1 deletions

View File

@ -47,7 +47,7 @@ struct backtrace_state* g_backtrace_state;
static const char* _get_db_path()
{
const char* k_db_path_default = "db.sqlite";
#if defined(__linux__)
#if defined(__linux__) && !defined(__ANDROID__)
if (stat(k_db_path_default, &(struct stat) { 0 }) == 0)
{
return tf_strdup(k_db_path_default);