-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to set relative path to User Template #51
Comments
It is not an issue of dockutil. |
This seems to work okay for me in the current version. What problem are you seeing? |
I tried adding ' |
Thanks. I understand now. Are any in Apple's default dock? Does Apple use the dock fix up to set these? Do they resolve after clicking them? or after restarting the Dock? Kyle
|
There is no com.apple.dock.plist in any default User Template folder, so I guess Apple uses dock fix up. |
I tried to place a com.apple.dock.plist in the user template from http://techion.com.au/blog/2015/4/28/dock-master. This plist does have a relative path and it works:
But with dockutil it looks like this:
|
I can confirm this is still an issue. I can work around it by pre-seeding the DUT with a dock plist that has a working relative path (like jedetaste's comment above) and then build onto it, but I would love to see this working so I can script complete removal of DUT dock and then rebuild using dockutil. EDIT: Issue seems to be that relative paths are resolved by dockutil when placed into the plist, rather than using Apple's post-copy resolution:
This part needs to check if the target is in /System/Library/User Template and then it needs to seed the file with Apple's self-resolving relative path (which "dock-master" above seems to have figured out, even though I have not). EDIT2: It appears (if dock-master referenced above is correct) that you can seed a relative path by the following:
|
It is not possible to place an item with an relative path in the user template.
e.g.:
The text was updated successfully, but these errors were encountered: