Change desktop directories

This commit is contained in:
problematicconsumer
2023-08-23 13:02:23 +03:30
parent 8290ded8e3
commit a878c75762

View File

@@ -18,7 +18,7 @@ class FilesEditorService with InfraLogger {
if (Platform.isAndroid) {
final externalDir = await getExternalStorageDirectory();
workingDir = externalDir!;
} else if (Platform.isWindows) {
} else if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
workingDir = baseDir;
} else {
workingDir = await getApplicationDocumentsDirectory();