Use scripting bridge for adding login items (login-tool, 6570a5a)
This appears to be a correct translation of the old code, and saves many lines. It doesn't work, however, so further troubleshooting will be required.
Signed-off-by: Greg Hurrell <greg@hurrell.net>