Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

robstoddard

macrumors newbie
Original poster
Dec 27, 2007
3
0
My company wants to use the Vine server with the telepresence system that it produces. I have been tasked to do a few things with the code such as make the window that appears when you run the app not appear unless somebody clicks on the dock icon. I am developing this on Tiger. When my boss runs it on his Leopard machine, he gets a duplicate "lame" dock icon. This dock icon does not respond in any way, but disappears when the Vine server is shut down. The "original" dock icon works normally.

I figure the reason why I am getting two dock icons is because the Vine server uses a second executable as the server which is stored in the bundle. Supposedly putting the second executable in the bundle keeps the second dock icon from appearing, however it still does. I have not found anything in the Apple documentation that allows me to eliminate the second dock icon without eliminating the one I want to keep.

Does anybody know how I can eliminate this extra dock icon? Could it possibly be as simple as building the app on a Leopard machine rather than a Tiger machine?

Thank you for your assistance
Rob Stoddard
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Is the server executable a plain binary file or is it inside an .app bundle? If it's inside an .app bundle, than you can add an entry to its Info.plist with an object of "1" for the key "LSUIElement" - see here for more info.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.