MZ Disable window-resizing of my game and enabling fullscreen? (MZ)

When the game is in windowed mode, I don't want the user to be able to resize the window, while still retaining Fullscreen functionality. This means also disabling the maximize button.

In MV this is solved by adding this "resizable": false under "window" in the package.json file like this:

Code:
{
    "name": "rmmz-game",
    "main": "index.html",
    "chromium-args": "--force-color-profile=srgb",
    "window": {
        "title": "TEST",
        "width": 816,
        "height": 624,
        "position": "center",
        "icon": "icon/icon.png",
        "resizable": false
    }
    }

But in my game (MZ) this breaks the fullscreen fuctionality. I made sure that the editor was not rewriting my package.json, by making it Read Only.

I also looked at the solution in this thread by @caethyril, but I ran into the same various issues when switching to fullscreen (in this video with F4). I tried this with and without changes to the package.json file.



I tried everything with no plugins enabled. Any help is appreciated! :LZSproud:
I also was not able to solve this, but I want the opposite... a max screen window by default. (not fullscreen windowless).
This is just a random thought, but did you try removing the quotes around "false"? I suspect they're not supposed to be there.
This is just a random thought, but did you try removing the quotes around "false"? I suspect they're not supposed to be there.
Thank you for your response. And yeah, I wrote it wrong, but..

I tried this and strangely, this causes the same issue in the video I posted above where when trying to fullscreen the game, the game will sit in the upleft corner in the screen, refusing to scaling the game to the screen. But this it never ever goes occasionally fullscreen.

This is not the same behaviour seen in RPG Maker MV, where this tag would have no effect on fullscreen fuctionality. The "Resize" mouse icon also appears when hovering the toolbar (the one with the minimize and close button), and I can alter the size of the window a bit.

By looking at the thread I posted, this seems like a nwjs bug, so I'll try changing the version and see how it goes. I really need version 49.2 for using the Steamworks integration.

(I edited my main post to reflect this problem)

Original thread: https://forums.rpgmakerweb.com/threads/disable-window-resizing-of-my-game-and-enabling-fullscreen-mz.183206/