Replace prints with logs

This commit is contained in:
Leon Böttger committed 2025-08-14 14:34:30 +02:00
1 parent 7acdd00525
commit fc8d5ba268
1 file changed
+3 -3
+3 -3
View File
@@ -400,13 +400,13 @@ class ShareViewController: NSViewController, ShareExtensionDelegate {
let configuration = NSWorkspace.OpenConfiguration() let configuration = NSWorkspace.OpenConfiguration()
NSWorkspace.shared.openApplication(at: url, configuration: configuration) { app, error in NSWorkspace.shared.openApplication(at: url, configuration: configuration) { app, error in
if let error = error { if let error = error {
print("Failed to launch application: \(error)") log("Failed to launch application: \(error)")
} else { } else {
print("Application launched successfully") log("Application launched successfully")
} }
} }
} else { } 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) { DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {