Found it, it's the passing of "login" which doesn't work. Removing "login" from the call to `Unity.init' gets me a launcher icon:
----8<---- Unity.init({ name: "GMail", iconUrl: "icon://unity-webapps-gmail", homepage: 'https://mail.google.com', domain: 'mail.google.com', onInit: wrapCallback(unityLoaded) }); ---->8----
Found it, it's the passing of "login" which doesn't work. Removing "login" from the call to `Unity.init' gets me a launcher icon:
----8<----
Unity. init({ name: "GMail",
iconUrl: "icon:/ /unity- webapps- gmail",
homepage: 'https:/ /mail.google. com',
domain: 'mail.google.com',
onInit: wrapCallback( unityLoaded) });
---->8----