The tutorial is great and completely worked for me. If I go one step further and bundle a MacOS app with:
electron-packager . <app_name>,
the generated app can be started from terminal with:
open <app_name>.app.
But if it is double clicked from Finder the app launches but the main window does not show up.