• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating application info plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating application info plist


  • Subject: Re: Updating application info plist
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 9 Oct 2009 16:19:48 -0700

On Fri, Oct 9, 2009 at 4:05 PM, Rob Keniger <email@hidden> wrote:
> To do this, surely they must be rewriting the LSUIElement key in the app's own Info.plist while the app is running, right? Or is there another way to do this?

I don't know how LittleSnapper is implemented, but you can use
TransformProcessType to bring yourself from LSUIElement-ness into
Dock-icon-having, full blown app status.  I imagine LittleSnapper
checks user defaults at launch and calls this function if
necessary—this would be the only way to implement this feature for
non-admin users who can't write to the app bundle.
http://developer.apple.com/mac/library/documentation/Carbon/Reference/Process_Manager/Reference/reference.html#//apple_ref/c/func/TransformProcessType

(Also, don't forget about code signing.)

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Updating application info plist (From: Zephyroth Akash <email@hidden>)
 >Re: Updating application info plist (From: Kyle Sluder <email@hidden>)
 >Re: Updating application info plist (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: Updating application info plist
  • Next by Date: Re: Binding to values which aren't there
  • Previous by thread: Re: Updating application info plist
  • Next by thread: Re: Updating application info plist
  • Index(es):
    • Date
    • Thread