Reputation: 11
How can I check whether a Mac app was downloaded and installed from the Mac App Store or not?
I have tried to find get any clue regarding the installation process in the Application's info.plist.
Upvotes: 1
Views: 153
Reputation: 122401
Check for the existence of the App Receipt:
/Applications/Something.app/Contents/_MASReceipt/receipt
If it exists then this app was downloaded from the Mac App Store, else it was downloaded from outside the Mac App Store.
Upvotes: 1