title: Programmatically add web app shortcut to macOS Dock
body: <p>I'm working on adding an app icon to the Dock programmatically. But all the information I found indicates I need to restart the Dock after the change.</p>
  
  <p>Is there any possible method that can add icon to the Dock "live" that doesn't need to kill the Dock process? Can I perhaps use Mach IPC?</p>