💚 End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[auth] Fix ~/.cache being deleted on linux
Gutyina Gergőb5d4b848fd13
diff --git a/auth/lib/utils/directory_utils.dart b/auth/lib/utils/directory_utils.dartindex ae8b8ededf..e5753a49c2 100644--- a/auth/lib/utils/directory_utils.dart+++ b/auth/lib/utils/directory_utils.dart@@ -27,9 +27,9 @@ class DirectoryUtils {Directory? directory;if (Platform.isLinux) {try {- return cacheHome;+ return await getApplicationCacheDirectory();} catch (e) {- logger.warning("Failed to get cacheHome: $e");+ logger.warning("Failed to get application cache directory: $e");}}