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:
Cory McWilliams 2025-01-11 16:14:39 -05:00
parent b4222a41de
commit 8178213f1a
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
* Replying in a new thread.
* Drafts in the sidebar.
* Fix channel cycling shortcut.
* New databases go in ~/.local/share/tildefriends/.
* Cross-compile for aarch64.
* Load time optimizations.
* Show disconnect reasons in the UI.
* Improved unread status.
* Replication improvements.
* Show new messages as they arrive.
* Dynamic color scheme.
* Layout tweaks.
* Fix win32 crashes.
* Loading screen.
* Removed "server follow me."
* Added various CLI commands.
* Updated dependencies:
* CodeMirror

View File

@ -47,7 +47,7 @@ struct backtrace_state* g_backtrace_state;
static const char* _get_db_path() static const char* _get_db_path()
{ {
const char* k_db_path_default = "db.sqlite"; 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) if (stat(k_db_path_default, &(struct stat) { 0 }) == 0)
{ {
return tf_strdup(k_db_path_default); return tf_strdup(k_db_path_default);