Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.7: Change an application's category' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Change an application's category
Authored by: Lri on Oct 21, '11 08:56:37AM
a="/Applications/Notational Velocity.app"
$ defaults write "$a/Contents/Info" LSApplicationCategoryType public.app-category.productivity
$ codesign -vv "$a"
/Applications/Notational Velocity.app: invalid signature (code or signature have been modified)
In architecture: i386
$ codesign -f -s - "$a"
/Applications/Notational Velocity.app: replacing invalid existing signature
$ codesign -vv "$a"
/Applications/Notational Velocity.app: valid on disk
/Applications/Notational Velocity.app: satisfies its Designated Requirement
  • codesign -f -s - SomeApp.app: force sign <no identity>
  • codesign -vv SomeApp.app: verify verbose


[ Reply to This | # ]
10.7: Change an application's category
Authored by: captainulf on Oct 24, '11 02:20:55AM

What's the point of code signing if you as an end user (or a malicious application / script) can re-sign code as easy as that?



[ Reply to This | # ]
10.7: Change an application's category
Authored by: TouchOfGray on Oct 26, '11 06:44:10PM

Good point. However, as a User, I prefer to assign the category attribute just like I can choose the default app to open a particular file type. I wish the category attribute could be specified in the app's Get Info pane.



[ Reply to This | # ]