could you tell me please - which object and which method can i use to fetch information about installed applications on OSX with objective c or macruby?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- back button text does not change
- iOS (objective-c) compression_decode_buffer() retu
- how to find the index position of the ARRAY Where
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
This would return a path to
Google Chrome
app if it is installed,nil
otherwise.If you don't know the
BundleID
, there are two options to find it:1) Open
.plist
file of the app by right-clicking the app icon and choosingShow Package Contents
option.Default path to Chrome .plist is
/Applications/Google\ Chrome.app/Contents/Info.plist
2) Use
lsregister
alongside withgrep
.Try typing the following into the
Terminal
app, you will find the BundleID there: