Fix log sending from share extension

This commit is contained in:
Leon Böttger authored and Leon Böttger committed 2026-03-11 21:08:56 +01:00
1 parent 935bdc5a65
commit 8e78f58b5e
1 file changed
+7 -1
+7 -1
View File
@@ -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)