An open-source cross-platform alternative to AirDrop
fix: show the actual save location path (#3467)
Shlomo1e15f5cdea99
diff --git a/app/assets/CHANGELOG.md b/app/assets/CHANGELOG.mdindex bd1edf31..e742e9a5 100644--- a/app/assets/CHANGELOG.md+++ b/app/assets/CHANGELOG.md@@ -2,6 +2,7 @@- fix(macos): file sharing via Share Extension doesn't work in DMG builds (@ShlomoCode, @vdmkotai)- fix: show the real error when a file cannot be read while sending, instead of transferring it as an empty file (@leopalmieri-spec)+- fix: show the actual save location path for receiving files (@ShlomoCode)## 1.18.2 (2026-08-21)diff --git a/app/lib/util/native/directories.dart b/app/lib/util/native/directories.dartindex fed0112b..532a2db6 100644--- a/app/lib/util/native/directories.dart+++ b/app/lib/util/native/directories.dart@@ -1,4 +1,4 @@-import 'dart:io' show Directory, Platform;+import 'dart:io' show Directory, FileSystemException, Platform;import 'package:flutter/foundation.dart';import 'package:localsend_app/util/native/channel/android_channel.dart';@@ -28,6 +28,12 @@ Future<String> getDefaultDestinationDirectory() async {}}}+ try {+ // Downloads may be a link, including the macOS sandbox Downloads folder.+ return (await downloadDir.resolveSymbolicLinks()).replaceAll('\\', '/');+ } on FileSystemException {+ // Keep the path from the platform provider if it cannot be resolved.+ }return downloadDir.path.replaceAll('\\', '/');}}