一般来说,Electron喜欢尽可能缩小其核心API表面积。因此,可以用原生Node.js模块或类似模块轻松完成的事情应该在那里完成。如果这不可能,我们可能会重新考虑,但这里的情况是,这已经可以通过外部模块实现。因此,我们将在这个时候拒绝这一点,但如果有更令人信服的论点或一些变化,我们可能会重新考虑
In general, Electron likes to keep its core API surface area smaller when possible. As a result of this, things which can be trivially accomplished with native Node.js modules or similar should be done there. If that's not possible, we can potentially reconsider, but here it's the case that this is already possible with an external module. Therefore, we're going to decline this at this time but if there are more compelling arguments or something changes we may reconsider.