Confusion on embedded Chromium


I recently built my first Electron app. It worked great on my Mac and given the fact that I was under the assumption that the whole thing was self contained, I confidently shared the .dmg with some coworkers, only to find out that the app wouldn’t start on their Macs. As a matter of fact, it wouldn’t start on my own work laptop either.

When I built it again on that machine and activate the Chrome dev tools on launch, it complained about an unexpected token ‘import’. Not hard to fix or anything but I still wonder how that was possible.

Is my understanding that the build includes the chromium browser (and should thus be identical on every Mac) incorrect? Will I still be facing cross browser/cross platform testing and support?