From fc8d5ba268fe499c879c8db74aeebcc322d93f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6ttger?= Date: Thu, 14 Aug 2025 14:34:30 +0200 Subject: [PATCH] Replace prints with logs --- ShareExtension/ShareViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ShareExtension/ShareViewController.swift b/ShareExtension/ShareViewController.swift index 4172962..59de20b 100644 --- a/ShareExtension/ShareViewController.swift +++ b/ShareExtension/ShareViewController.swift @@ -400,13 +400,13 @@ class ShareViewController: NSViewController, ShareExtensionDelegate { let configuration = NSWorkspace.OpenConfiguration() NSWorkspace.shared.openApplication(at: url, configuration: configuration) { app, error in if let error = error { - print("Failed to launch application: \(error)") + log("Failed to launch application: \(error)") } else { - print("Application launched successfully") + log("Application launched successfully") } } } else { - print("Could not find application with bundle identifier \(bundleIdentifier)") + log("Could not find application with bundle identifier \(bundleIdentifier)") } DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {