|
|
@ -389,7 +389,9 @@ extension EventCenter { |
|
|
|
for result in results { |
|
|
|
for result in results { |
|
|
|
if result.resultType == .link, var actualLink = result.url?.absoluteString { |
|
|
|
if result.resultType == .link, var actualLink = result.url?.absoluteString { |
|
|
|
// Check for Zoom links |
|
|
|
// Check for Zoom links |
|
|
|
if actualLink.contains("zoom.us/j/") || actualLink.contains("zoom.us/s/") || actualLink.contains("zoom.us/w/") { |
|
|
|
if actualLink.contains("zoom.us/j/") |
|
|
|
|
|
|
|
|| actualLink.contains("zoom.us/s/") |
|
|
|
|
|
|
|
|| actualLink.contains("zoom.us/w/") { |
|
|
|
// Create a Zoom App link |
|
|
|
// Create a Zoom App link |
|
|
|
let workspace = NSWorkspace.shared |
|
|
|
let workspace = NSWorkspace.shared |
|
|
|
if workspace.urlForApplication(toOpen: URL(string: "zoommtg://")!) != nil { |
|
|
|
if workspace.urlForApplication(toOpen: URL(string: "zoommtg://")!) != nil { |
|
|
|