I never tested it on Linux, I don't think RPGmaker Deployments plays well with it.
Viewing post in Helplessly Haunted Heroines comments
I believe MV games don't work correctly on newer Linux and macOS versions due to the changes especially on Apple Silicon Macs. Some may have fixed it by updating NW.js but for the most part, it only works correctly on Windows. However, updating NW.js can also break fullscreen in YEP Core Engine because of some changes in NW.js.