Inventory should include extensions and control panels
boredzo opened this issue · comments
list has --app-inventory, which reports the name, version, etc. of all applications on the volume.
Seems like that could be generalized to include extensions and control panels as well, so you can find different versions of QuickTime, for example.
Relevant file types:
'APPL'
(application)'INIT'
(extension)'appe'
(application-extension)'cdev'
(control panel)'appc'
(application-control panel)
Possible others:
- Shared libraries (e.g., ObjectSupportLib)
- Other Extensions/Control Panels folder-dwellers?
Ideally we might include folders that have the bundle bit set (packages), or that have extensions like .app, .framework, .bundle, etc. But finding Contents/Info.plist is less trivial than going directly from the item's own catalog record to its resource fork. I think I'll leave that for someone else to implement.
Shared library types include:
'shlb'
(ObjectSupportLib)'libr'
(Open Transport libraries)'thng'
(QuickTime component, such as QuickTime Musical Instruments or any codecs)