`electron-api.json` says `electron.main` but should be `electron`. Currently manually patched: https://github.com/tong/hxelectron/commit/1b02b653ad16c4603b818542910e36efaaf0367c