Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Sources/MasKit/Controllers/MasAppLibrary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class MasAppLibrary: AppLibrary {

/// Array of installed software products.
lazy var installedApps: [SoftwareProduct] = {
softwareMap.allSoftwareProducts()
softwareMap.allSoftwareProducts().filter { product in
product.bundlePath.starts(with: "/Applications/")
}
}()

/// Internal initializer for providing a mock software map.
Expand Down