mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Replace prints with logs
This commit is contained in:
1 parent
7acdd00525
commit
fc8d5ba268
1 file changed
+3
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user