In search of: cross-platform custom menu examples


#1

I have built a tutorial app (from code fragments in WebDeveloper magazine #237) that uses a custom menu template. It worked nice on Windows and Linux but I found my menu empty but for “Quit” on Macintosh. This sent me searching for some more examples. Sigh.

It appears this is a “Pro” topic. The Electron API demo uses pretty much default menus. All I have found on Github for examples are some thing called Atom, VS Code and the slightly more approachable WebTorrent. These are all quite advanced for a newbie. In general it looks like folks build a separate menu for each platform.

Are there any entry-level examples out there of apps with custom menus that work on macOS as well as the others? I am most focused on using a File menu with fs to open and save files.