Electron has an API for the macOS share menu, but the page does not include an example of how to use it. I'm struggling to get started, as I'm not sure which file to put the code in, or how to plumb it to an interface element. How do you use the ShareMenu API?