Exits immediately with exitCode. exitCode defaults to 0.
exitCode
All windows will be closed immediately without asking the user, and the before-quit and will-quit events will not be emitted.
before-quit
will-quit