From 8178213f1a82d79804d8e548d12f7efd5b6ff9d4 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 11 Jan 2025 16:14:39 -0500 Subject: [PATCH] ssb: Keep the previous db location for android. wip release notes. --- metadata/en-US/changelogs/32.txt | 18 ++++++++++++++++++ src/main.c | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 metadata/en-US/changelogs/32.txt diff --git a/metadata/en-US/changelogs/32.txt b/metadata/en-US/changelogs/32.txt new file mode 100644 index 00000000..02f991a9 --- /dev/null +++ b/metadata/en-US/changelogs/32.txt @@ -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 diff --git a/src/main.c b/src/main.c index 04101004..0aec7ee0 100644 --- a/src/main.c +++ b/src/main.c @@ -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);