diff --git a/1_anytime.pxd/QuickLook/Icon.webp b/1_anytime.pxd/QuickLook/Icon.webp
index fb1ad3e..4fc3a85 100644
Binary files a/1_anytime.pxd/QuickLook/Icon.webp and b/1_anytime.pxd/QuickLook/Icon.webp differ
diff --git a/1_anytime.pxd/QuickLook/Thumbnail.webp b/1_anytime.pxd/QuickLook/Thumbnail.webp
index e28257c..0265c5d 100644
Binary files a/1_anytime.pxd/QuickLook/Thumbnail.webp and b/1_anytime.pxd/QuickLook/Thumbnail.webp differ
diff --git a/1_anytime.pxd/data/selectionForContentTransform/meta b/1_anytime.pxd/data/selectionForContentTransform/meta
deleted file mode 100644
index b4e4a3e..0000000
--- a/1_anytime.pxd/data/selectionForContentTransform/meta
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
- backingScale
- 1
- mode
- 0
- shapeSelectionFilename
- shapeSelection
- size
-
- NC10UHpTVFAQAAAAQGHAAAAAAABALAAAAAAAAA==
-
- softness
- 0.0
- timestamp
- 762463132.862221
- transform
-
- 1
- 0.0
- 0.0
- 1.2142857142857142
- 0.0
- -271.07142857142844
- 0.0
- 0.0
-
- version
- 2
-
-
diff --git a/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/meta b/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/meta
deleted file mode 100644
index 0acda1a..0000000
--- a/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/meta
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- backingScale
- 1
- pathFilename
- path
- version
- 1
-
-
diff --git a/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/path b/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/path
deleted file mode 100644
index e073e9e..0000000
Binary files a/1_anytime.pxd/data/selectionForContentTransform/shapeSelection/path and /dev/null differ
diff --git a/1_anytime.pxd/metadata.info b/1_anytime.pxd/metadata.info
index 0ece2ef..1e33946 100644
Binary files a/1_anytime.pxd/metadata.info and b/1_anytime.pxd/metadata.info differ
diff --git a/2_copy.pxd/QuickLook/Icon.webp b/2_copy.pxd/QuickLook/Icon.webp
index d7cd289..74162d6 100644
Binary files a/2_copy.pxd/QuickLook/Icon.webp and b/2_copy.pxd/QuickLook/Icon.webp differ
diff --git a/2_copy.pxd/QuickLook/Thumbnail.webp b/2_copy.pxd/QuickLook/Thumbnail.webp
index dd2553c..bdd48b4 100644
Binary files a/2_copy.pxd/QuickLook/Thumbnail.webp and b/2_copy.pxd/QuickLook/Thumbnail.webp differ
diff --git a/2_copy.pxd/metadata.info b/2_copy.pxd/metadata.info
index 37e8693..51797ea 100644
Binary files a/2_copy.pxd/metadata.info and b/2_copy.pxd/metadata.info differ
diff --git a/NearDrop/Base.lproj/Localizable.strings b/NearDrop/Base.lproj/Localizable.strings
index 9288ecf..df2d2ff 100644
--- a/NearDrop/Base.lproj/Localizable.strings
+++ b/NearDrop/Base.lproj/Localizable.strings
@@ -103,3 +103,6 @@ If you still encounter issues, the issues could be caused due to your WiFi route
"TransferTimedOut" = "Timed out";
"UnsupportedType" = "Attachment type not supported";
"QrCodeInstructions" = "Scan the QR Code with the camera of your Android device. Afterward, your phone will show up in the previous screen.\n\nAlternatively, install and open the 'Files by Google' app and tap 'Receive' at the bottom right.";
+"TypeNotSupported" = "Type not supported";
+"TypeNotSupportedDescription" = "The selected file type is not supported. If you want to share it anyway, right-click the file, select \"Compress\" and then send the compressed file.";
+"TypeNotSupportedButton" = "Okay";
diff --git a/NearDrop/ar.lproj/Localizable.strings b/NearDrop/ar.lproj/Localizable.strings
index 8ed0185..76013b8 100644
--- a/NearDrop/ar.lproj/Localizable.strings
+++ b/NearDrop/ar.lproj/Localizable.strings
@@ -93,3 +93,6 @@
"TransferTimedOut" = "انتهت المهلة";
"UnsupportedType" = "نوع المرفق غير مدعوم";
"QrCodeInstructions" = "امسح رمز QR باستخدام كاميرا جهاز Android الخاص بك. بعد ذلك، سيظهر هاتفك في الشاشة السابقة.\n\nبدلاً من ذلك، قم بتثبيت وفتح تطبيق 'Files by Google' ثم اضغط على 'استلام' في الزاوية اليمنى السفلى.";
+"TypeNotSupported" = "نوع غير مدعوم";
+"TypeNotSupportedDescription" = "نوع الملف المحدد غير مدعوم. إذا كنت ترغب في مشاركته على أي حال، انقر بزر الفأرة الأيمن على الملف، واختر \"ضغط\" ثم أرسل الملف المضغوط.";
+"TypeNotSupportedButton" = "حسنًا";
diff --git a/NearDrop/de.lproj/Localizable.strings b/NearDrop/de.lproj/Localizable.strings
index 803b595..c08d79a 100644
--- a/NearDrop/de.lproj/Localizable.strings
+++ b/NearDrop/de.lproj/Localizable.strings
@@ -95,4 +95,7 @@ Wenn du weiterhin Probleme hast, könnten diese durch deinen WLAN-Router verursa
"TransferFinished" = "Übertragung abgeschlossen";
"TransferTimedOut" = "Zeitüberschreitung";
"UnsupportedType" = "Typ nicht unterstützt";
-"QrCodeInstructions" = "Scanne den QR-Code mit der Kamera deines Android-Geräts. Danach wird dein Telefon auf dem vorherigen Bildschirm angezeigt.\n\nAlternativ kannst du die App 'Files by Google' installieren und öffnen und unten rechts auf 'Empfangen' tippen.";
+"QrCodeInstructions" = "Scanne den QR-Code mit der Kamera deines Android-Geräts. Danach wird dein Telefon auf dem vorherigen Bildschirm angezeigt.\n\nAlternativ kannst du die App 'Files by Google' installieren, öffnen, und unten rechts auf 'Empfangen' tippen.";
+"TypeNotSupported" = "Typ nicht unterstützt";
+"TypeNotSupportedDescription" = "Der ausgewählte Dateityp wird nicht unterstützt. Wenn du ihn trotzdem teilen möchtest, klicke mit der rechten Maustaste auf die Datei, wähle „Komprimieren“ aus und sende dann die komprimierte Datei.";
+"TypeNotSupportedButton" = "Okay";
diff --git a/NearDrop/es.lproj/Localizable.strings b/NearDrop/es.lproj/Localizable.strings
index c0557c7..af1fd61 100644
--- a/NearDrop/es.lproj/Localizable.strings
+++ b/NearDrop/es.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Si aún encuentras problemas, estos podrían ser causados por tu router WiFi. Al
"TransferTimedOut" = "Tiempo de espera agotado";
"UnsupportedType" = "Tipo de archivo adjunto no compatible";
"QrCodeInstructions" = "Escanea el código QR con la cámara de tu dispositivo Android. Luego, tu teléfono aparecerá en la pantalla anterior.\n\nComo alternativa, instala y abre la aplicación 'Files by Google' y toca 'Recibir' en la parte inferior derecha.";
+"TypeNotSupported" = "Tipo no soportado";
+"TypeNotSupportedDescription" = "El tipo de archivo seleccionado no es compatible. Si aún deseas compartirlo, haz clic derecho en el archivo, selecciona \"Comprimir\" y luego envía el archivo comprimido.";
+"TypeNotSupportedButton" = "Vale";
diff --git a/NearDrop/fr.lproj/Localizable.strings b/NearDrop/fr.lproj/Localizable.strings
index de0e813..700af09 100644
--- a/NearDrop/fr.lproj/Localizable.strings
+++ b/NearDrop/fr.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Si vous rencontrez toujours des problèmes, ceux-ci peuvent être causés par vo
"TransferTimedOut" = "Délai dépassé";
"UnsupportedType" = "Type de pièce jointe non pris en charge";
"QrCodeInstructions" = "Scannez le code QR avec l’appareil photo de votre appareil Android. Ensuite, votre téléphone apparaîtra sur l’écran précédent.\n\nSinon, installez et ouvrez l’application 'Files by Google' et appuyez sur 'Recevoir' en bas à droite.";
+"TypeNotSupported" = "Type non pris en charge";
+"TypeNotSupportedDescription" = "Le type de fichier sélectionné n'est pas pris en charge. Si vous souhaitez tout de même le partager, faites un clic droit sur le fichier, sélectionnez \"Compresser\" puis envoyez le fichier compressé.";
+"TypeNotSupportedButton" = "D'accord";
diff --git a/NearDrop/hu.lproj/Localizable.strings b/NearDrop/hu.lproj/Localizable.strings
index 5b6a691..9d127a2 100644
--- a/NearDrop/hu.lproj/Localizable.strings
+++ b/NearDrop/hu.lproj/Localizable.strings
@@ -95,3 +95,6 @@ Ha továbbra is problémákat tapasztalsz, azok a WiFi-routeredből adódhatnak.
"TransferTimedOut" = "Időtúllépés";
"UnsupportedType" = "Nem támogatott csatolmánytípus";
"QrCodeInstructions" = "Olvasd be a QR-kódot az Android készüléked kamerájával. Ezután a telefonod megjelenik az előző képernyőn.\n\nAlternatív megoldásként telepítsd és nyisd meg a 'Files by Google' alkalmazást, majd koppints a 'Fogadás' gombra a jobb alsó sarokban.";
+"TypeNotSupported" = "Nem támogatott típus";
+"TypeNotSupportedDescription" = "A kiválasztott fájltípus nem támogatott. Ha mégis meg szeretnéd osztani, kattints jobb gombbal a fájlra, válaszd a \"Tömörítés\" lehetőséget, majd küldd el a tömörített fájlt.";
+"TypeNotSupportedButton" = "Rendben";
diff --git a/NearDrop/it.lproj/Localizable.strings b/NearDrop/it.lproj/Localizable.strings
index f46e431..7724a2a 100644
--- a/NearDrop/it.lproj/Localizable.strings
+++ b/NearDrop/it.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Se il problema persiste, potrebbe essere causato dal tuo router WiFi. Alcuni rou
"TransferTimedOut" = "Tempo scaduto";
"UnsupportedType" = "Tipo di allegato non supportato";
"QrCodeInstructions" = "Scansiona il codice QR con la fotocamera del tuo dispositivo Android. Successivamente, il tuo telefono apparirà nella schermata precedente.\n\nIn alternativa, installa e apri l'app 'Files by Google' e tocca 'Ricevi' in basso a destra.";
+"TypeNotSupported" = "Tipo non supportato";
+"TypeNotSupportedDescription" = "Il tipo di file selezionato non è supportato. Se desideri comunque condividerlo, fai clic con il tasto destro sul file, seleziona \"Comprimi\" e poi invia il file compresso.";
+"TypeNotSupportedButton" = "Ok";
diff --git a/NearDrop/ja.lproj/Localizable.strings b/NearDrop/ja.lproj/Localizable.strings
index f751449..8f7b97c 100644
--- a/NearDrop/ja.lproj/Localizable.strings
+++ b/NearDrop/ja.lproj/Localizable.strings
@@ -94,3 +94,6 @@ AndroidデバイスからMacにファイルを送信するには、スマート
"TransferTimedOut" = "タイムアウトしました";
"UnsupportedType" = "添付ファイルの種類はサポートされていません";
"QrCodeInstructions" = "AndroidデバイスのカメラでQRコードをスキャンしてください。その後、電話が前の画面に表示されます。\n\nまたは、『Files by Google』アプリをインストールして開き、右下の「受信」をタップしてください。";
+"TypeNotSupported" = "サポートされていない形式";
+"TypeNotSupportedDescription" = "選択したファイルの形式はサポートされていません。それでも共有したい場合は、ファイルを右クリックして「圧縮」を選択し、圧縮ファイルを送信してください。";
+"TypeNotSupportedButton" = "OK";
diff --git a/NearDrop/ko.lproj/Localizable.strings b/NearDrop/ko.lproj/Localizable.strings
index d189b23..cea26e6 100644
--- a/NearDrop/ko.lproj/Localizable.strings
+++ b/NearDrop/ko.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Android 기기에서 Mac으로 파일을 보내려면 휴대폰에서 공유 아
"TransferTimedOut" = "시간 초과";
"UnsupportedType" = "지원되지 않는 첨부 파일 유형";
"QrCodeInstructions" = "Android 기기의 카메라로 QR 코드를 스캔하세요. 이후 전화기가 이전 화면에 표시됩니다.\n\n또는 'Files by Google' 앱을 설치하고 열어 오른쪽 아래의 '받기'를 탭하세요.";
+"TypeNotSupported" = "지원되지 않는 유형";
+"TypeNotSupportedDescription" = "선택한 파일 형식은 지원되지 않습니다. 그래도 공유하려면 파일을 오른쪽 클릭하여 '압축'을 선택한 후 압축된 파일을 보내세요.";
+"TypeNotSupportedButton" = "확인";
diff --git a/NearDrop/nl.lproj/Localizable.strings b/NearDrop/nl.lproj/Localizable.strings
index 62f3df9..94f48c0 100644
--- a/NearDrop/nl.lproj/Localizable.strings
+++ b/NearDrop/nl.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Als je nog steeds problemen ondervindt, kunnen deze veroorzaakt worden door je W
"TransferTimedOut" = "Time-out";
"UnsupportedType" = "Bijlagetype niet ondersteund";
"QrCodeInstructions" = "Scan de QR-code met de camera van je Android-apparaat. Daarna verschijnt je telefoon op het vorige scherm.\n\nAls alternatief kun je de app 'Files by Google' installeren en openen en op 'Ontvangen' tikken rechtsonder.";
+"TypeNotSupported" = "Type niet ondersteund";
+"TypeNotSupportedDescription" = "Het geselecteerde bestandstype wordt niet ondersteund. Als je het toch wilt delen, klik met de rechtermuisknop op het bestand, selecteer \"Comprimeren\" en stuur vervolgens het gecomprimeerde bestand.";
+"TypeNotSupportedButton" = "Oké";
diff --git a/NearDrop/pt-BR.lproj/Localizable.strings b/NearDrop/pt-BR.lproj/Localizable.strings
index 9d199e9..b5bceb4 100644
--- a/NearDrop/pt-BR.lproj/Localizable.strings
+++ b/NearDrop/pt-BR.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Se você ainda encontrar problemas, eles podem ser causados pelo seu roteador Wi
"TransferTimedOut" = "Tempo esgotado";
"UnsupportedType" = "Tipo de anexo não suportado";
"QrCodeInstructions" = "Escaneie o código QR com a câmera do seu dispositivo Android. Em seguida, seu telefone aparecerá na tela anterior.\n\nComo alternativa, instale e abra o app 'Files by Google' e toque em 'Receber' no canto inferior direito.";
+"TypeNotSupported" = "Tipo não suportado";
+"TypeNotSupportedDescription" = "O tipo de arquivo selecionado não é suportado. Se quiser compartilhá-lo mesmo assim, clique com o botão direito no arquivo, selecione \"Comprimir\" e envie o arquivo compactado.";
+"TypeNotSupportedButton" = "Ok";
diff --git a/NearDrop/pt-PT.lproj/Localizable.strings b/NearDrop/pt-PT.lproj/Localizable.strings
index b8a57f4..5c3e301 100644
--- a/NearDrop/pt-PT.lproj/Localizable.strings
+++ b/NearDrop/pt-PT.lproj/Localizable.strings
@@ -94,3 +94,6 @@ Se ainda tiver problemas, estes podem ser causados pelo seu router WiFi. Alguns
"TransferTimedOut" = "Tempo limite excedido";
"UnsupportedType" = "Tipo de anexo não suportado";
"QrCodeInstructions" = "Digitalize o código QR com a câmara do seu dispositivo Android. Depois, o seu telefone aparecerá no ecrã anterior.\n\nEm alternativa, instale e abra a aplicação 'Files by Google' e toque em 'Receber' no canto inferior direito.";
+"TypeNotSupported" = "Tipo não suportado";
+"TypeNotSupportedDescription" = "O tipo de ficheiro selecionado não é suportado. Se quiser partilhá-lo mesmo assim, clique com o botão direito no ficheiro, selecione \"Comprimir\" e depois envie o ficheiro comprimido.";
+"TypeNotSupportedButton" = "Ok";
diff --git a/NearDrop/ro.lproj/Localizable.strings b/NearDrop/ro.lproj/Localizable.strings
index 26b5b72..4a3e12d 100644
--- a/NearDrop/ro.lproj/Localizable.strings
+++ b/NearDrop/ro.lproj/Localizable.strings
@@ -93,3 +93,6 @@ Dacă întâmpini în continuare probleme, acestea ar putea fi cauzate de router
"TransferTimedOut" = "Timpul a expirat";
"UnsupportedType" = "Tip de atașament neacceptat";
"QrCodeInstructions" = "Scanează codul QR cu camera dispozitivului tău Android. După aceea, telefonul tău va apărea pe ecranul anterior.\n\nAlternativ, instalează și deschide aplicația 'Files by Google' și apasă pe 'Primește' în colțul din dreapta jos.";
+"TypeNotSupported" = "Tip nesuportat";
+"TypeNotSupportedDescription" = "Tipul de fișier selectat nu este acceptat. Dacă dorești să îl trimiți oricum, fă clic dreapta pe fișier, selectează \"Comprimă\" și apoi trimite fișierul comprimat.";
+"TypeNotSupportedButton" = "Ok";
diff --git a/NearDrop/ru.lproj/Localizable.strings b/NearDrop/ru.lproj/Localizable.strings
index fdd0de6..84160ec 100644
--- a/NearDrop/ru.lproj/Localizable.strings
+++ b/NearDrop/ru.lproj/Localizable.strings
@@ -97,3 +97,6 @@
"TransferTimedOut" = "Время ожидания истекло";
"UnsupportedType" = "Тип вложения не поддерживается";
"QrCodeInstructions" = "Отсканируйте QR-код с помощью камеры вашего устройства Android. После этого ваш телефон появится на предыдущем экране.\n\nИли установите и откройте приложение 'Files by Google' и нажмите 'Получить' внизу справа.";
+"TypeNotSupported" = "Тип не поддерживается";
+"TypeNotSupportedDescription" = "Выбранный тип файла не поддерживается. Если вы все равно хотите его отправить, щелкните файл правой кнопкой мыши, выберите «Сжать», а затем отправьте сжатый файл.";
+"TypeNotSupportedButton" = "Окей";
diff --git a/NearDrop/th.lproj/Localizable.strings b/NearDrop/th.lproj/Localizable.strings
index 7f2d2a1..e77416b 100644
--- a/NearDrop/th.lproj/Localizable.strings
+++ b/NearDrop/th.lproj/Localizable.strings
@@ -94,3 +94,6 @@
"TransferTimedOut" = "หมดเวลา";
"UnsupportedType" = "ไม่รองรับประเภทไฟล์แนบ";
"QrCodeInstructions" = "สแกนรหัส QR ด้วยกล้องของอุปกรณ์ Android ของคุณ หลังจากนั้น โทรศัพท์ของคุณจะปรากฏบนหน้าจอก่อนหน้า\n\nหรือ ติดตั้งและเปิดแอป 'Files by Google' แล้วแตะ 'รับ' ที่ด้านล่างขวา";
+"TypeNotSupported" = "ไม่รองรับประเภทนี้";
+"TypeNotSupportedDescription" = "ประเภทไฟล์ที่เลือกไม่รองรับ หากต้องการแชร์อยู่ดี ให้คลิกขวาที่ไฟล์ เลือก \"บีบอัด\" แล้วส่งไฟล์ที่บีบอัดแล้ว";
+"TypeNotSupportedButton" = "ตกลง";
diff --git a/NearDrop/uk.lproj/Localizable.strings b/NearDrop/uk.lproj/Localizable.strings
index d78e13c..8511c9e 100644
--- a/NearDrop/uk.lproj/Localizable.strings
+++ b/NearDrop/uk.lproj/Localizable.strings
@@ -94,3 +94,6 @@
"TransferTimedOut" = "Час очікування вийшов";
"UnsupportedType" = "Тип вкладення не підтримується";
"QrCodeInstructions" = "Скануйте QR-код за допомогою камери вашого пристрою Android. Після цього ваш телефон з’явиться на попередньому екрані.\n\nАбо встановіть та відкрийте додаток 'Files by Google' і натисніть 'Отримати' внизу праворуч.";
+"TypeNotSupported" = "Тип не підтримується";
+"TypeNotSupportedDescription" = "Вибраний тип файлу не підтримується. Якщо ви все одно хочете його надіслати, клацніть файл правою кнопкою миші, виберіть \"Стиснути\", а потім надішліть стиснутий файл.";
+"TypeNotSupportedButton" = "Гаразд";
diff --git a/NearDrop/zh-Hans.lproj/Localizable.strings b/NearDrop/zh-Hans.lproj/Localizable.strings
index 01d6b10..4055ed1 100644
--- a/NearDrop/zh-Hans.lproj/Localizable.strings
+++ b/NearDrop/zh-Hans.lproj/Localizable.strings
@@ -94,3 +94,6 @@
"TransferTimedOut" = "超时";
"UnsupportedType" = "不支持的附件类型";
"QrCodeInstructions" = "使用您的 Android 设备的相机扫描二维码。之后,您的手机将在上一个屏幕上显示。\n\n或者,安装并打开 'Files by Google' 应用,然后点击右下角的“接收”。";
+"TypeNotSupported" = "不支持的类型";
+"TypeNotSupportedDescription" = "所选文件类型不受支持。如果仍要分享,请右键点击文件,选择“压缩”,然后发送压缩后的文件。";
+"TypeNotSupportedButton" = "好的";
diff --git a/QuickDrop.xcodeproj/project.pbxproj b/QuickDrop.xcodeproj/project.pbxproj
index a59af2e..47c9894 100644
--- a/QuickDrop.xcodeproj/project.pbxproj
+++ b/QuickDrop.xcodeproj/project.pbxproj
@@ -777,8 +777,8 @@
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
- SHARED_BUILD = 15;
- SHARED_VERSION = 1.4;
+ SHARED_BUILD = 16;
+ SHARED_VERSION = 1.4.2;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
@@ -836,8 +836,8 @@
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
- SHARED_BUILD = 15;
- SHARED_VERSION = 1.4;
+ SHARED_BUILD = 16;
+ SHARED_VERSION = 1.4.2;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
@@ -862,7 +862,7 @@
INFOPLIST_KEY_CFBundleDisplayName = QuickDrop;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSUIElement = YES;
- INFOPLIST_KEY_NSHumanReadableCopyright = "2025 Leon Böttger - Huge thanks to developers of NearDrop";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2025 Leon Böttger and NearDrop developers";
INFOPLIST_KEY_NSMainNibFile = MainMenu;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
@@ -899,7 +899,7 @@
INFOPLIST_KEY_CFBundleDisplayName = QuickDrop;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_LSUIElement = YES;
- INFOPLIST_KEY_NSHumanReadableCopyright = "2025 Leon Böttger - Huge thanks to developers of NearDrop";
+ INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2025 Leon Böttger and NearDrop developers";
INFOPLIST_KEY_NSMainNibFile = MainMenu;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
diff --git a/ShareExtension/ShareViewController.swift b/ShareExtension/ShareViewController.swift
index 2766466..5f95351 100644
--- a/ShareExtension/ShareViewController.swift
+++ b/ShareExtension/ShareViewController.swift
@@ -163,9 +163,25 @@ class ShareViewController: NSViewController, ShareExtensionDelegate{
if url.isFileURL{
let isDirectory=UnsafeMutablePointer.allocate(capacity: 1)
if FileManager.default.fileExists(atPath: url.path, isDirectory: isDirectory) && isDirectory.pointee.boolValue{
- log("Canceling share request because URL \(url) is a directory")
- let cancelError = NSError(domain: NSCocoaErrorDomain, code: NSUserCancelledError, userInfo: nil)
- self.extensionContext!.cancelRequest(withError: cancelError)
+
+ DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
+ log("Canceling share request because URL \(url) is a directory")
+
+ let alert = NSAlert()
+ alert.alertStyle = .critical
+
+ alert.messageText = "TypeNotSupported".localized()
+ alert.informativeText = "TypeNotSupportedDescription".localized()
+ alert.addButton(withTitle: "TypeNotSupportedButton".localized())
+
+ let _ = alert.runModal()
+ let cancelError = NSError(domain: NSCocoaErrorDomain, code: NSUserCancelledError, userInfo: nil)
+
+ DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
+ self.extensionContext!.cancelRequest(withError: cancelError)
+ }
+ }
+
return
}
}