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)