mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
desktop: saving settings in a safer way to handle process death (#4687)
* desktop: saving settings in a safer way to handle process death * enhancements * unused * changes * rename
This commit is contained in:
1 parent
912aaa2741
commit
05a5d161fb
9 files changed
+73
-24
No files matched your search
+2
@@ -19,6 +19,8 @@ actual val wallpapersDir: File = File(filesDir.absolutePath + File.separator + "
|
||||
actual val coreTmpDir: File = File(filesDir.absolutePath + File.separator + "temp_files")
|
||||
actual val dbAbsolutePrefixPath: String = dataDir.absolutePath + File.separator + "files"
|
||||
actual val preferencesDir = File(dataDir.absolutePath + File.separator + "shared_prefs")
|
||||
actual val preferencesTmpDir = File(tmpDir, "prefs_tmp")
|
||||
.also { it.deleteRecursively() }
|
||||
|
||||
actual val chatDatabaseFileName: String = "files_chat.db"
|
||||
actual val agentDatabaseFileName: String = "files_agent.db"
|
||||
|
||||
Reference in new issue
Block a user