kcrawford / dockutil

command line tool for managing dock items
http://patternbuffer.wordpress.com
Apache License 2.0
1.37k stars 132 forks source link

Flat application files placed next to document stacks instead of with applications #7

Open edingc opened 11 years ago

edingc commented 11 years ago

Best example of this is with Microsoft Office 2004. If you execute:

dockutil --add /Applications/Microsoft\ Office\ 2004/Microsoft\ Excel

The application is added to the right of the document stacks and immediately to the left of the Trash. Adding an --after flag and specifying an existing application makes no difference.

This does not occur with application bundles, for example:

dockutil --add /Applications/iTunes.app

This results in expected behavior.

kcrawford commented 11 years ago

How can/should one determine if an app is an app? Right now we are using:

if real_add_path.endswith('.app') or real_add_path.endswith('.app/'):
edingc commented 11 years ago

Kyle,

I'm no longer with the employer from which I filed the bug. However, since these apps are rare/few and far between, could there just be a flag for this kind of thing?

Thanks.

Cody

kcrawford commented 9 months ago

Is it still possible to have apps that do not end with .app? If so, how can one create those? Or do you have an example?