Skip to content

Commit

Permalink
Add /System/Applications[/Utilities] to default app locations
Browse files Browse the repository at this point in the history
  • Loading branch information
tingraldi committed Apr 2, 2021
1 parent efce45c commit 4346eba
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ import ScriptingBridge
public let defaultAppLocations = [
"/Applications",
"/Applications/Utilities",
"/System/Library/CoreServices"
"/System/Library/CoreServices",
"/System/Applications",
"/System/Applications/Utilities"
]

public func appPathForName(_ name: String, locations: [String] = defaultAppLocations) -> String? {
Expand Down

0 comments on commit 4346eba

Please sign in to comment.