Support for embed protocol to load tray icon on mac.