From 8e78f58b5e36f46e1a18c22d8cf1675afa728b67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Wed, 11 Mar 2026 21:08:56 +0100 Subject: [PATCH] Fix log sending from share extension --- QuickDrop/Util/ErrorAlertHandler.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/QuickDrop/Util/ErrorAlertHandler.swift b/QuickDrop/Util/ErrorAlertHandler.swift index 1cdf265..e29fa93 100644 --- a/QuickDrop/Util/ErrorAlertHandler.swift +++ b/QuickDrop/Util/ErrorAlertHandler.swift @@ -102,7 +102,13 @@ class ErrorAlertHandler { self.isAlertShown = false if result == .alertFirstButtonReturn { - LogExportPresenter.showUploadLogsAlert(openSupportMailAfterUpload: false) + if Bundle.main.bundlePath.hasSuffix(".appex") { + if let url = URL(string: "quickdrop://sendLog") { + NSWorkspace.shared.open(url) + } + } else { + LogExportPresenter.showUploadLogsAlert(openSupportMailAfterUpload: false) + } } #else showAlert(title: title, message: description)