Add Supa account and search changes

This commit is contained in:
Fabian Freund
2026-05-22 18:10:22 +02:00
parent 3a19865b2e
commit 51289f1266
374 changed files with 54061 additions and 5013 deletions
+3 -1
View File
@@ -34,6 +34,7 @@ final filesystem = _Filesystem();
class _Filesystem {
late final Directory dataDir;
late final Directory tempDir;
late final Directory profilesDir;
late final UuidValue selectedProfile;
@@ -312,7 +313,8 @@ class _Filesystem {
Future<void> _setupSqliteCache() async {
// Make sqlite3 pick a more suitable location for temporary files - the
// one from the system may be inaccessible due to sandboxing.
final cachebase = (await path_provider.getTemporaryDirectory()).path;
tempDir = await path_provider.getTemporaryDirectory();
final cachebase = tempDir.path;
// We can't access /tmp on Android, which sqlite3 would try by default.
// Explicitly tell it about the correct temporary directory.
sqlite3.tempDirectory = cachebase;