Replace StartupItem on OSX with LaunchAgent
Merge branch 'public/7.7' into public/7.8