MV Help with Exit Game command on title screen

Greetings, I currently use the ARP_TitleCommandExit plugin to add the option to exit the game on the Title Screen, however I updated the NWJS version today and since then the plugin is not working properly, as shown in the attached video.
Is there a way around this? Is there another plugin or way to close the game that I don't know about? I feel that this kind of command should be installed by default in Rpg Maker...
Thanks!
I actually updated ARP_TitleCommandExit myself by switching SceneManager.exit(); for
if (Utils.isNwjs()) {
require('nw.gui').Window.get().close();
} else {
SceneManager.terminate();
}

I hope this helps if someone else faces this very same issue in the future!
Wow this is great.

I actually had the exact same problem with the "PHLiM2_ShutDownAddition" plugin
but your solution also works for that plugin.

So thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-exit-game-command-on-title-screen.138948/