mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Fixes #12311 Right now it throws a new error when the file is even require()d, but this isn't ideal as there are cases where everything is mass-required, such as Spectron. Instead, we should throw an error on non-Darwin environments only when the IAP methods are invoked.