Open edingc opened 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/'):
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
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?
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.